summaryrefslogtreecommitdiff
path: root/ec2-set-apt-sources.py
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2009-03-22 23:39:45 +0000
committerBazaar Package Importer <jamesw@ubuntu.com>2009-03-22 23:39:45 +0000
commite606fe4288e31eeef1d90a62773bdc946e650381 (patch)
tree901e260670c2fa304239a687904ad56333dd15e3 /ec2-set-apt-sources.py
parent58f82c2220b3137c97a377b01da04a14c64b0a1d (diff)
downloadvyos-cloud-init-e606fe4288e31eeef1d90a62773bdc946e650381.tar.gz
vyos-cloud-init-e606fe4288e31eeef1d90a62773bdc946e650381.zip
* Set the configuration file to jaunty.
* ec2-fetch-credentials: Fix typo. * ec2-set-defaults.py: - Remove timezone change when booting the instance. - Redirect output to /dev/null. * ec2-set-apt-sources.py: - Run apt-get update after the /etc/apt/sources.list and redirect the output to /dev/null. * rightscale-init: Updated rightscale-init
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")