summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceEc2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/DataSourceEc2.py')
-rw-r--r--cloudinit/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index 18c1ed50..4abb6e47 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -137,7 +137,7 @@ class DataSourceEc2(DataSource.DataSource):
reason = ""
try:
- req = urllib2.Request(url)
+ req = urllib2.Request(iurl)
resp = urllib2.urlopen(req, timeout=timeout)
if resp.read() != "":
self.metadata_address = url