summaryrefslogtreecommitdiff
path: root/cloudinit/DataSource.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/DataSource.py')
-rw-r--r--cloudinit/DataSource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSource.py b/cloudinit/DataSource.py
index cd6d6731..e79be09e 100644
--- a/cloudinit/DataSource.py
+++ b/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(".")