summaryrefslogtreecommitdiff
path: root/ec2-set-apt-sources.py
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2009-05-28 06:04:31 +0200
committerChuck Short <zulcss@ubuntu.com>2009-05-28 06:04:31 +0200
commitbb5711688e7f6b2abe4e82a5b5233194a323b99d (patch)
tree734ee82e43a33a79d87b059143eccf10095ae339 /ec2-set-apt-sources.py
parentebfb2ed46dc72aa78e1477607ccf77b1f552fcf0 (diff)
downloadvyos-cloud-init-bb5711688e7f6b2abe4e82a5b5233194a323b99d.tar.gz
vyos-cloud-init-bb5711688e7f6b2abe4e82a5b5233194a323b99d.zip
* debian/init: Run update-motd regardless whether its a firstboot or not.
* debian/init: Fix comments (LP: #373057) * debian/control: Add update-motd as a depends. * ec2-set-defaults.py: Wait for network to become available. (LP: #308530)
Diffstat (limited to 'ec2-set-apt-sources.py')
-rwxr-xr-xec2-set-apt-sources.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ec2-set-apt-sources.py b/ec2-set-apt-sources.py
index 6327a78b..d48e5167 100755
--- a/ec2-set-apt-sources.py
+++ b/ec2-set-apt-sources.py
@@ -61,7 +61,6 @@ def updateList(filename):
f.write('%s' %(t))
f.close()
- if not os.path.exists("/etc/apt/sources.list-ec2-init"):
os.system("mv /etc/apt/sources.list /etc/apt/sources.list-ec2-init")
os.symlink("/var/ec2/sources.list", "/etc/apt/sources.list")
cache = apt.Cache(apt.progress.OpProgress())