summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_phone_home.py
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2013-02-21 22:39:30 -0800
committerharlowja <harlowja@virtualbox.rhel>2013-02-21 22:39:30 -0800
commit9dfb60d3144860334ab1ad1d72920d962139461f (patch)
tree59b8b37a26cbf9ababc49428fd7488340daff60d /cloudinit/config/cc_phone_home.py
parent6d40d5b2e3da9577d4a2686444d47125e62817fe (diff)
downloadvyos-cloud-init-9dfb60d3144860334ab1ad1d72920d962139461f.tar.gz
vyos-cloud-init-9dfb60d3144860334ab1ad1d72920d962139461f.zip
More work on requests integration.
Diffstat (limited to 'cloudinit/config/cc_phone_home.py')
-rw-r--r--cloudinit/config/cc_phone_home.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_phone_home.py b/cloudinit/config/cc_phone_home.py
index 90834080..5a4332ef 100644
--- a/cloudinit/config/cc_phone_home.py
+++ b/cloudinit/config/cc_phone_home.py
@@ -112,7 +112,8 @@ def handle(name, cfg, cloud, log, args):
url = templater.render_string(url, url_params)
try:
util.read_file_or_url(url, data=real_submit_keys,
- retries=tries, sec_between=3)
+ retries=tries, sec_between=3,
+ ssl_details=util.fetch_ssl_details(cloud.paths))
except:
util.logexc(log, ("Failed to post phone home data to"
" %s in %s tries"), url, tries)