summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2009-04-06 23:04:46 +0100
committerBazaar Package Importer <jamesw@ubuntu.com>2009-04-06 23:04:46 +0100
commitb40123f1114a55c42bbd0abac08f12d75a550367 (patch)
treee0a035fecaeb06ae388a82a51ae3f31a1344e786
parente9932d53056c765ade5392d3a9a3bdef30395c50 (diff)
downloadcloud-init-git-ubuntu-0.3.3ubuntu8.tar.gz
* ec2-set-apt-sources.py:ubuntu-0.3.3ubuntu8
- Add the ubuntu-on-ec2 ppa.
-rw-r--r--debian/changelog7
-rwxr-xr-xec2-set-apt-sources.py6
2 files changed, 11 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 0657d9e7..39d5f332 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ec2-init (0.3.3ubuntu8) jaunty; urgency=low
+
+ * ec2-set-apt-sources.py:
+ - Add the ubuntu-on-ec2 ppa.
+
+ -- Chuck Short <zulcss@ubuntu.com> Tue, 31 Mar 2009 09:37:13 -0400
+
ec2-init (0.3.3ubuntu7) jaunty; urgency=low
* debian/rules: Fix typo.
diff --git a/ec2-set-apt-sources.py b/ec2-set-apt-sources.py
index 2709d6ab..f6549dc5 100755
--- a/ec2-set-apt-sources.py
+++ b/ec2-set-apt-sources.py
@@ -42,8 +42,10 @@ f = open("/var/run/ec2/sources.list", "w")
f.write('deb %s %s main universe\n' % (archive,distro))
f.write('deb-src %s %s main universe\n' % (archive,distro))
f.write('deb %s %s-updates main universe\n' % (archive,distro))
-f.write('deb http://security.ubuntu.com/ubuntu intrepid-security main universe\n')
-f.write('deb-src http://security.ubuntu.com/ubuntu intrepid-security main universe\n')
+f.write('deb http://security.ubuntu.com/ubuntu %s-security main universe\n' %(distro))
+f.write('deb-src http://security.ubuntu.com/ubuntu %s-security main universe\n', %(distro))
+f.write('deb http://ppa.launchpad.net/ubuntu-on-ec2/ppa/ubuntu %s main\n' %(distro))
+f.write('deb-src http://ppa.launchpad.net/ubuntu-on-ec2/ppa/ubuntu %s main\n' %(distro))
f.close()
os.system("mv /etc/apt/sources.list /etc/apt/sources.list-ec2-init")
os.system("ln -s /var/run/ec2/sources.list /etc/apt/sources.list")