diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-09-22 10:26:50 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-09-22 10:26:50 -0400 |
commit | 03d5e6a56537b56e911cd6f507e97a6bfb6fcd07 (patch) | |
tree | 4a3a01e8bc36499db04c7d8e6a9b43b15adcaefe | |
parent | 9644491bbfe039f769aab1c21df96460642aadca (diff) | |
download | vyos-cloud-init-03d5e6a56537b56e911cd6f507e97a6bfb6fcd07.tar.gz vyos-cloud-init-03d5e6a56537b56e911cd6f507e97a6bfb6fcd07.zip |
cloudinit/DataSource.py: fix bad usage of get_fqdn_from_hosts
-rw-r--r-- | cloudinit/DataSource.py | 2 |
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(".") |