summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-08-03 13:40:07 -0400
committerScott Moser <smoser@ubuntu.com>2011-08-03 13:40:07 -0400
commite7ca2cf5c38e8d94dd154b3b65b575c63a488ce2 (patch)
treeec630edcd90820a652245a8c48a3285b44d0deef /cloudinit/util.py
parenteec6618bea0ab204ce02e8c122e9960ac034595b (diff)
downloadvyos-cloud-init-e7ca2cf5c38e8d94dd154b3b65b575c63a488ce2.tar.gz
vyos-cloud-init-e7ca2cf5c38e8d94dd154b3b65b575c63a488ce2.zip
cloudinit/util.py: fix syntax error
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 64eafa29..5058e1d4 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -436,7 +436,7 @@ def get_hostname_fqdn(cfg, cloud):
# be nice to them. set fqdn and hostname from that
fqdn = cfg['hostname']
hostname = cfg['hostname'][:fqdn.find('.')]
- else
+ else:
# no fqdn set, get fqdn from cloud.
# get hostname from cfg if available otherwise cloud
fqdn = cloud.get_hostname(fqdn=True)