]> git.proxmox.com Git - pve-container.git/commit
fix #1423: add timezone config option
authorOguz Bektas <o.bektas@proxmox.com>
Thu, 2 Jul 2020 12:49:11 +0000 (14:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 11:47:02 +0000 (13:47 +0200)
commite6e308ae840abcaeb2bdc19fbaf6cc80b3efe034
tree820a9f7e7370c681067c5fe6d035435d2cacd456
parentdb773fab57cebce3d87fc52ccbe9574362c88bbd
fix #1423: add timezone config option

optionally enabled.

adds the 'timezone' option to config, which takes a valid timezone (i.e.
Europe/Vienna) to set in the container.

if nothing is selected, then it will show as 'container managed' in
GUI, and nothing will be done.

if set to 'host', the /etc/localtime symlink from the host node will be
cached and set in the container rootfs.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/LXC/Config.pm
src/PVE/LXC/Setup.pm
src/PVE/LXC/Setup/Base.pm