summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-08-31 16:35:45 -0400
committerScott Moser <smoser@ubuntu.com>2011-08-31 16:35:45 -0400
commitc90df6b03af752742bf08f52322048d1c5e8948a (patch)
treebc6b94b22c4570a533e9e4e3d735a7b892a28224 /cloudinit/DataSourceNoCloud.py
parenta5ea0c5380d364016a2ab80660e03fc059bc1563 (diff)
downloadvyos-cloud-init-c90df6b03af752742bf08f52322048d1c5e8948a.tar.gz
vyos-cloud-init-c90df6b03af752742bf08f52322048d1c5e8948a.zip
remove a default 'local-hostname' value from DataSourceNoCloud
If there is no local-hostname, then the base DataSource will make attempts to resolve it. Having a default here meant that it would be taken as truth.
Diffstat (limited to 'cloudinit/DataSourceNoCloud.py')
-rw-r--r--cloudinit/DataSourceNoCloud.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/DataSourceNoCloud.py b/cloudinit/DataSourceNoCloud.py
index e9e9c152..956b1a5e 100644
--- a/cloudinit/DataSourceNoCloud.py
+++ b/cloudinit/DataSourceNoCloud.py
@@ -41,7 +41,6 @@ class DataSourceNoCloud(DataSource.DataSource):
def get_data(self):
defaults = {
- "local-hostname" : "ubuntuhost",
"instance-id" : "nocloud"
}