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

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 2 months ago
mtrossevin added 1 commit 2 months ago
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request has changes conflicting with the target branch.
CHANGELOG.md
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.