summaryrefslogtreecommitdiff
path: root/ec2-set-apt-sources.py
diff options
context:
space:
mode:
Diffstat (limited to 'ec2-set-apt-sources.py')
-rwxr-xr-xec2-set-apt-sources.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ec2-set-apt-sources.py b/ec2-set-apt-sources.py
index 15643fb2..2709d6ab 100755
--- a/ec2-set-apt-sources.py
+++ b/ec2-set-apt-sources.py
@@ -47,3 +47,4 @@ f.write('deb-src http://security.ubuntu.com/ubuntu intrepid-security main univer
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")
+os.system("apt-get update 2>&1 > /dev/null")