summaryrefslogtreecommitdiff
path: root/cloudinit/distros/__init__.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-21 19:46:16 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-21 19:46:16 -0700
commitc49507a221464ce0f9747d4371f8e3d1d1b30abd (patch)
tree1bb749e85c7c83837c4ebdd425ed24cb7edc125b /cloudinit/distros/__init__.py
parent340c8f337751152cc54bdbeb9f9428c35fa720a1 (diff)
downloadvyos-cloud-init-c49507a221464ce0f9747d4371f8e3d1d1b30abd.tar.gz
vyos-cloud-init-c49507a221464ce0f9747d4371f8e3d1d1b30abd.zip
Updated so that the locale that is being written out currently in 'cc_locale'
now will be done by the distro classes (since its not the same for rhel and ubuntu). Remove the template also since it will just be created by the ubuntu distro class (its just one line).
Diffstat (limited to 'cloudinit/distros/__init__.py')
-rw-r--r--cloudinit/distros/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index f9a97da7..c324ddf6 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -83,6 +83,10 @@ class Distro(object):
return False
@abc.abstractmethod
+ def apply_locale(self, locale, out_fn=None):
+ raise NotImplementedError()
+
+ @abc.abstractmethod
def set_timezone(self, tz):
raise NotImplementedError()