From 03d5e6a56537b56e911cd6f507e97a6bfb6fcd07 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 22 Sep 2011 10:26:50 -0400 Subject: cloudinit/DataSource.py: fix bad usage of get_fqdn_from_hosts --- cloudinit/DataSource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(".") -- cgit v1.2.3