diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-10-19 14:06:21 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-10-19 14:06:21 -0700 |
commit | 7c9bbbc9b49425e3ba8e0517908477c58ea51d4b (patch) | |
tree | 1c21d521b299f5ac29a5f83855cb976eba44ed0e /cloudinit/config/cc_phone_home.py | |
parent | 914c6e86f1689ae186a0db836e7f0304d72c38b4 (diff) | |
download | vyos-cloud-init-7c9bbbc9b49425e3ba8e0517908477c58ea51d4b.tar.gz vyos-cloud-init-7c9bbbc9b49425e3ba8e0517908477c58ea51d4b.zip |
Remove the need for boto just for fetching the
userdata and metadata. Add in this crawling functionality
to the ec2_utils module that will fully crawl (not lazily)
the ec2 metadata and parse it in the same manner as boto.
1. Make the ec2 datasource + cloudstack now call into these.
2. Fix phone_home due to urllib3 change (TBD)
Diffstat (limited to 'cloudinit/config/cc_phone_home.py')
-rw-r--r-- | cloudinit/config/cc_phone_home.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_phone_home.py b/cloudinit/config/cc_phone_home.py index ae1349eb..a268d66f 100644 --- a/cloudinit/config/cc_phone_home.py +++ b/cloudinit/config/cc_phone_home.py @@ -112,7 +112,7 @@ def handle(name, cfg, cloud, log, args): } url = templater.render_string(url, url_params) try: - uhelp.readurl(url, data=real_submit_keys, retries=tries, sec_between=3) + uhelp.readurl(url, data=real_submit_keys, retries=tries) except: util.logexc(log, ("Failed to post phone home data to" " %s in %s tries"), url, tries) |