diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-01 12:48:11 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-01 12:48:11 -0500 |
commit | 97efb9d48197d7098f1abe2ee519418afbe6aec5 (patch) | |
tree | d17d8ded09d9274c40f652d8bc3d4fd0d6449cae /tests/unittests/test_handler/test_handler_power_state.py | |
parent | f0e26abe896318819a6b568dd72e9974b53928c8 (diff) | |
parent | 290afe72d53b5e38c3781934e23a676a3c1986e5 (diff) | |
download | vyos-cloud-init-97efb9d48197d7098f1abe2ee519418afbe6aec5.tar.gz vyos-cloud-init-97efb9d48197d7098f1abe2ee519418afbe6aec5.zip |
timezone: use a symlink when updating /etc/localtime
Unless /etc/localtime is an existing file and not a symlink,
then we will symlink instead of copying the tz_file to /etc/localtime.
The copy was how older versions of Ubuntu handled this.
Those versions should have a file /etc/localtime . When the symlink
is preferred, then it should already exist in the image.
LP: #1543025
Diffstat (limited to 'tests/unittests/test_handler/test_handler_power_state.py')
0 files changed, 0 insertions, 0 deletions