[LXC] Force lxc containers to be in the correct timezone #112

Open
mtrossevin wants to merge 6 commits from mtrossevin/ansible-roles:change_timezone into unstable
Owner

Right now lxc containers are in the Etc/UTC timezone, this commit change
it so that they are in the same timezone as the host by copying
/etc/timezone and /etc/localtime (without dereferencing it) inside of
the container.

This might not be able to survive an upgrade of tzdata as the debconf database isn't modified (Debian really should learn that modifying the manually modified content of /etc isn't ok at all).

Right now lxc containers are in the Etc/UTC timezone, this commit change it so that they are in the same timezone as the host by copying /etc/timezone and /etc/localtime (without dereferencing it) inside of the container. This might not be able to survive an upgrade of tzdata as the debconf database isn't modified ~~(Debian really should learn that modifying the manually modified content of /etc isn't ok at all)~~.
mtrossevin added 1 commit 2020-12-09 09:18:05 +01:00
continuous-integration/drone/pr Build is failing Details
18ce6a7a57
Merge branch 'unstable' into change_timezone
mtrossevin added 1 commit 2020-12-23 14:56:38 +01:00
Owner

Please veritfy if this is still relevant (after 2 years).
If so, merge it ;)

Thanks

Please veritfy if this is still relevant (after 2 years). If so, merge it ;) Thanks
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request has changes conflicting with the target branch.
  • CHANGELOG.md
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b mtrossevin-change_timezone unstable
git pull change_timezone

Step 2:

Merge the changes and update on Forgejo.
git checkout unstable
git merge --no-ff mtrossevin-change_timezone
git push origin unstable
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#112
No description provided.