14 lines
469 B
Diff
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(".")
|