summaryrefslogtreecommitdiff
path: root/ec2-set-defaults.py
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2009-04-06 23:04:49 +0100
committerBazaar Package Importer <jamesw@ubuntu.com>2009-04-06 23:04:49 +0100
commitc3ba031b7feb74bfbaf54fd73b599c95ed0df765 (patch)
treedb1dafc0bbb13a0efe1ec3f8c46220d5937aea4f /ec2-set-defaults.py
parent6dddf16cb8dea2e1a96b3d613b81087df247fd3d (diff)
downloadvyos-cloud-init-c3ba031b7feb74bfbaf54fd73b599c95ed0df765.tar.gz
vyos-cloud-init-c3ba031b7feb74bfbaf54fd73b599c95ed0df765.zip
* debian/control:
- Add python-cheetah and python-apt as a dependency. * debian/ec2-config.cfg: - Remove distro due to the change in ec2-set-apt-sources.py * debian/inistall - Install the templates in the right place. * ec2-set-apt-sources.py: - Use python-apt to update the sources.list.
Diffstat (limited to 'ec2-set-defaults.py')
-rwxr-xr-xec2-set-defaults.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ec2-set-defaults.py b/ec2-set-defaults.py
index d7de9f1f..7d410031 100755
--- a/ec2-set-defaults.py
+++ b/ec2-set-defaults.py
@@ -24,7 +24,6 @@ import os
api_ver = '2008-02-01'
metadata = None
-filename='/etc/ec2-init/ec2-config.cfg'
base_url = 'http://169.254.169.254/%s/meta-data' % api_ver
zone = urllib.urlopen('%s/placement/availability-zone' % base_url).read()