summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceOVF.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-09-01 11:07:28 -0400
committerScott Moser <smoser@ubuntu.com>2011-09-01 11:07:28 -0400
commitdb2db4a5b20b5e3cf7f4bd7efa92c0f0062311a3 (patch)
treea8f6bf8215785337fd770a10b633fcc9270bfc64 /cloudinit/DataSourceOVF.py
parent3197810f17e3267e9147d0572079d8133d9f61e4 (diff)
downloadvyos-cloud-init-db2db4a5b20b5e3cf7f4bd7efa92c0f0062311a3.tar.gz
vyos-cloud-init-db2db4a5b20b5e3cf7f4bd7efa92c0f0062311a3.zip
DataSourceOVF do not provide a default static hostname
This is the same change made in DataSourceNoCloud, but to the OVF DataSource.
Diffstat (limited to 'cloudinit/DataSourceOVF.py')
-rw-r--r--cloudinit/DataSourceOVF.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/cloudinit/DataSourceOVF.py b/cloudinit/DataSourceOVF.py
index 04fa8da8..0159eed7 100644
--- a/cloudinit/DataSourceOVF.py
+++ b/cloudinit/DataSourceOVF.py
@@ -51,7 +51,6 @@ class DataSourceOVF(DataSource.DataSource):
ud = ""
defaults = {
- "local-hostname" : "ubuntuhost",
"instance-id" : "nocloud"
}
@@ -109,9 +108,6 @@ class DataSourceOVF(DataSource.DataSource):
if not 'public-keys' in self.metadata: return([])
return([self.metadata['public-keys'],])
- def get_hostname(self):
- return(self.metadata['local-hostname'])
-
# the data sources' config_obj is a cloud-config formated
# object that came to it from ways other than cloud-config
# because cloud-config content would be handled elsewhere