summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceEc2.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-06-17 06:41:53 -0400
committerScott Moser <smoser@ubuntu.com>2011-06-17 06:41:53 -0400
commit2cec6a2ccaf8541d710f07de2c3db16a36cbdc9e (patch)
tree8d699e58d3463f47851f5de9fc34366c64cb2a29 /cloudinit/DataSourceEc2.py
parent00b15282ebffcb3c5bbf0617536c1e1950430207 (diff)
downloadvyos-cloud-init-2cec6a2ccaf8541d710f07de2c3db16a36cbdc9e.tar.gz
vyos-cloud-init-2cec6a2ccaf8541d710f07de2c3db16a36cbdc9e.zip
fix broken ec2 metadata service (incorrect variable name)
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