[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

6 commits

Author SHA1 Message Date
Mathieu Trossevin f026883d4f
Merge remote-tracking branch 'origin/unstable' into change_timezone
Some checks failed
continuous-integration/drone/pr Build is failing
2020-12-23 14:56:25 +01:00
Mathieu 18ce6a7a57 Merge branch 'unstable' into change_timezone
Some checks failed
continuous-integration/drone/pr Build is failing
2020-12-09 09:16:34 +01:00
Mathieu Trossevin 0defe8b6f1
Merge branch 'unstable' into change_timezone
Some checks failed
continuous-integration/drone/pr Build is failing
2020-10-28 15:14:48 +01:00
Mathieu Trossevin 0618c18b4e
Update changelog: force lxc containers to be in correct TZ
Some checks failed
continuous-integration/drone/pr Build is failing
2020-10-20 17:20:31 +02:00
Mathieu Trossevin 4295383d43
Merge branch 'unstable' into change_timezone
Some checks failed
continuous-integration/drone/pr Build is failing
2020-10-20 17:19:06 +02:00
Mathieu Trossevin 23a486dc9a
[LXC] Force lxc containers to be in the correct timezone
Some checks failed
continuous-integration/drone/pr Build is failing
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.

It might not be able to survive an update of the tzdata package however.
(Debian shouldn't change manual configuration upon update but they chose
to anyways so bear with it).
2020-07-27 11:53:03 +02:00