1a48e76
Index: cloud-init-fedora/cloudinit/CloudConfig/cc_timezone.py
4907847
===================================================================
1a48e76
--- cloud-init-fedora.orig/cloudinit/CloudConfig/cc_timezone.py
1a48e76
+++ cloud-init-fedora/cloudinit/CloudConfig/cc_timezone.py
c29b445
@@ -45,6 +45,13 @@ def handle(name,cfg,cloud,log,args):
c29b445
     except:
c29b445
         log.debug("failed to write to /etc/timezone")
c29b445
         raise
c29b445
+    if os.path.exists("/etc/sysconfig/clock"):
4907847
+        try:
4907847
+            with open("/etc/sysconfig/clock", "w") as fp:
4907847
+                fp.write('ZONE="%s"\n' % timezone)
4907847
+        except:
4907847
+            log.debug("failed to write to /etc/sysconfig/clock")
4907847
+            raise
4907847
 
4907847
     try:
4907847
         shutil.copy(tz_file, "/etc/localtime")