summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOVF.py
diff options
context:
space:
mode:
authorSankar Tanguturi <stanguturi@stanguturi-rhel>2016-03-15 17:22:08 -0700
committerSankar Tanguturi <stanguturi@stanguturi-rhel>2016-03-15 17:22:08 -0700
commit13a32d7599a939370ee0bc0e7257da2c59b4bd61 (patch)
treef2c46dd637f6f9978e00bd329a894f8ff2dd89b0 /cloudinit/sources/DataSourceOVF.py
parent03998cd336b3906dc1eb675fff1ddeb1272668d3 (diff)
downloadvyos-cloud-init-13a32d7599a939370ee0bc0e7257da2c59b4bd61.tar.gz
vyos-cloud-init-13a32d7599a939370ee0bc0e7257da2c59b4bd61.zip
- Added the code to customize timezone.
Diffstat (limited to 'cloudinit/sources/DataSourceOVF.py')
-rw-r--r--cloudinit/sources/DataSourceOVF.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py
index 65cefc48..5734d233 100644
--- a/cloudinit/sources/DataSourceOVF.py
+++ b/cloudinit/sources/DataSourceOVF.py
@@ -231,6 +231,9 @@ def read_vmware_imc(config):
else:
md['local-hostname'] = config.host_name
+ if config.timezone:
+ cfg['timezone'] = config.timezone
+
return (md, ud, cfg)