cloud-init/cloud-init-0.6.2-fqdnargs.patch
2011-09-24 16:01:08 -07:00

14 lines
469 B
Diff

Index: cloud-init/cloudinit/DataSource.py
===================================================================
--- cloud-init.orig/cloudinit/DataSource.py
+++ cloud-init/cloudinit/DataSource.py
@@ -116,7 +116,7 @@ class DataSource:
hostname = socket.gethostname()
- fqdn = util.get_fqdn_from_hosts()
+ fqdn = util.get_fqdn_from_hosts(hostname)
if fqdn and fqdn.find(".") > 0:
toks = fqdn.split(".")