summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceOVF.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/DataSourceOVF.py')
-rw-r--r--cloudinit/DataSourceOVF.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/cloudinit/DataSourceOVF.py b/cloudinit/DataSourceOVF.py
index 04fa8da8..3dad4b1e 100644
--- a/cloudinit/DataSourceOVF.py
+++ b/cloudinit/DataSourceOVF.py
@@ -51,8 +51,7 @@ class DataSourceOVF(DataSource.DataSource):
ud = ""
defaults = {
- "local-hostname" : "ubuntuhost",
- "instance-id" : "nocloud"
+ "instance-id" : "iid-dsovf"
}
(seedfile, contents) = get_ovf_env(seeddir)
@@ -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