summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 882fd9fb..897f0a0d 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -761,6 +761,8 @@ def wait_for_url(urls, max_wait=None, timeout=None,
be tried once and given the timeout provided.
timeout: the timeout provided to urllib2.urlopen
status_cb: call method with string message when a url is not available
+ headers_cb: call method with single argument of url to get headers
+ for request.
the idea of this routine is to wait for the EC2 metdata service to
come up. On both Eucalyptus and EC2 we have seen the case where