summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")