summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/distros/rhel.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py
index 1ea7952b..1a47fc33 100644
--- a/cloudinit/distros/rhel.py
+++ b/cloudinit/distros/rhel.py
@@ -1,4 +1,4 @@
-# vi: ts=4 expandtab
+ # vi: ts=4 expandtab
#
# Copyright (C) 2012 Canonical Ltd.
# Copyright (C) 2012 Hewlett-Packard Development Company, L.P.
@@ -56,6 +56,7 @@ D_QUOTE_CHARS = {
'`': '\`',
}
+
def _make_sysconfig_bool(val):
if val:
return 'yes'
@@ -160,7 +161,7 @@ class Distro(distros.Distro):
def _write_hostname(self, hostname, out_fn):
host_cfg = {
- 'HOSTNAME': hostname,
+ 'HOSTNAME': hostname,
}
self._update_sysconfig_file(out_fn, host_cfg)