summaryrefslogtreecommitdiff
path: root/cloudinit/distros/rhel.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-10-10 16:51:18 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-10-10 16:51:18 -0700
commitb2901994e4310c255a6edf64dcf35c7bf12295ef (patch)
treee0ed6c12617fe98ad0bb2d4e19688c5ef16b4e2c /cloudinit/distros/rhel.py
parent80eb53deb9f80694c5fd0e0190197de1ff496716 (diff)
downloadvyos-cloud-init-b2901994e4310c255a6edf64dcf35c7bf12295ef.tar.gz
vyos-cloud-init-b2901994e4310c255a6edf64dcf35c7bf12295ef.zip
Add comments as to a future refactoring
of this function that needs to occur since its pretty much the same now.
Diffstat (limited to 'cloudinit/distros/rhel.py')
-rw-r--r--cloudinit/distros/rhel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py
index 21f2216e..45c85fbb 100644
--- a/cloudinit/distros/rhel.py
+++ b/cloudinit/distros/rhel.py
@@ -186,8 +186,8 @@ class Distro(distros.Distro):
return distros.Distro._bring_up_interfaces(self, device_names)
def set_timezone(self, tz):
- # Ensure that this timezone is actually
- # available on this system, if not give up
+ # TODO(harlowja): move this code into
+ # the parent distro...
tz_file = os.path.join(self.tz_zone_dir, str(tz))
if not os.path.isfile(tz_file):
raise RuntimeError(("Invalid timezone %s,"