[pve-devel] [PATCH v2 0/5] timezones for containers

Oguz Bektas o.bektas at proxmox.com
Wed Jun 17 15:32:28 CEST 2020


this patch series implements the 'timezone' option for containers.

more detailed info is in the commit messages.

v1->v2:

* don't use an array of valid timezones in format verification, instead
just loop through the zonetab file and compare line by line (still has
to be split according to \t while doing the comparison)

* add thomas' suggestions about atomic move on tmpfile before doing
symlink

* add 'pve-ct-timezone' format in pve-container to special-case the
'host' setting without breaking 'timezone' format in pve-common for more
general use

pve-common:

Oguz Bektas (1):
  jsonschema: register 'timezone' format and add verification method

 src/PVE/JSONSchema.pm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

pve-container:

Oguz Bektas (1):
  fix #1423: add timezone config option

 src/PVE/LXC/Config.pm     | 14 ++++++++++++++
 src/PVE/LXC/Setup.pm      | 13 +++++++++++++
 src/PVE/LXC/Setup/Base.pm | 33 ++++++++++++++++++++++++++++++---
 3 files changed, 57 insertions(+), 3 deletions(-)

proxmox-widget-toolkit:

Oguz Bektas (1):
  add TimezonePanel for containers

 src/Makefile               |  1 +
 src/data/TimezoneStore.js  |  2 +-
 src/panel/TimezonePanel.js | 73 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 75 insertions(+), 1 deletion(-)
 create mode 100644 src/panel/TimezonePanel.js



pve-manager:

Oguz Bektas (2):
  add timezone setting to lxc options
  add timezone option to container creation wizard

 www/manager6/lxc/CreateWizard.js | 16 +++++++++++++---
 www/manager6/lxc/Options.js      | 13 +++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.20.1




More information about the pve-devel mailing list