From c49507a221464ce0f9747d4371f8e3d1d1b30abd Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 21 Jun 2012 19:46:16 -0700 Subject: 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). --- cloudinit/distros/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cloudinit/distros/__init__.py') 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 @@ -82,6 +82,10 @@ class Distro(object): return self._interface_action('up') return False + @abc.abstractmethod + def apply_locale(self, locale, out_fn=None): + raise NotImplementedError() + @abc.abstractmethod def set_timezone(self, tz): raise NotImplementedError() -- cgit v1.2.3