summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceCloudStack.py7
-rw-r--r--cloudinit/sources/DataSourceEc2.py7
2 files changed, 4 insertions, 10 deletions
diff --git a/cloudinit/sources/DataSourceCloudStack.py b/cloudinit/sources/DataSourceCloudStack.py
index 7fd38982..b4ca6d93 100644
--- a/cloudinit/sources/DataSourceCloudStack.py
+++ b/cloudinit/sources/DataSourceCloudStack.py
@@ -102,13 +102,10 @@ class DataSourceCloudStack(sources.DataSource):
return False
start_time = time.time()
md_addr = self.metadata_address
- ssl_details = util.fetch_ssl_details(self.paths)
self.userdata_raw = ec2_utils.get_instance_userdata(self.api_ver,
- md_addr,
- ssl_details)
+ md_addr)
self.metadata = ec2_utils.get_instance_metadata(self.api_ver,
- md_addr,
- ssl_details)
+ md_addr)
LOG.debug("Crawl of metadata service took %s seconds",
int(time.time() - start_time))
return True
diff --git a/cloudinit/sources/DataSourceEc2.py b/cloudinit/sources/DataSourceEc2.py
index 0d62cf01..bd35c8b0 100644
--- a/cloudinit/sources/DataSourceEc2.py
+++ b/cloudinit/sources/DataSourceEc2.py
@@ -62,13 +62,10 @@ class DataSourceEc2(sources.DataSource):
return False
start_time = time.time()
md_addr = self.metadata_address
- ssl_details = util.fetch_ssl_details(self.paths)
self.userdata_raw = ec2_utils.get_instance_userdata(self.api_ver,
- md_addr,
- ssl_details)
+ md_addr)
self.metadata = ec2_utils.get_instance_metadata(self.api_ver,
- md_addr,
- ssl_details)
+ md_addr)
LOG.debug("Crawl of metadata service took %s seconds",
int(time.time() - start_time))
return True