summaryrefslogtreecommitdiff
path: root/cloud-init.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud-init.py')
-rwxr-xr-xcloud-init.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/cloud-init.py b/cloud-init.py
index 11bf89af..28828648 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -115,16 +115,6 @@ def main():
sys.exit(0)
-def set_defaults(cloud):
- apply_locale(cloud.get_locale())
-
-def apply_locale(locale):
- subprocess.Popen(['locale-gen', locale]).communicate()
- subprocess.Popen(['update-locale', locale]).communicate()
-
- util.render_to_file('default-locale', '/etc/default/locale', \
- { 'locale' : locale })
-
# read hostname from a 'hostname' file
# allow for comments and stripping line endings.
# if file doesn't exist, or no contents, return default