summaryrefslogtreecommitdiff
path: root/upstart/ec2-apt-update.conf
diff options
context:
space:
mode:
authorScott Moser <smoser@nelson>2010-01-08 16:32:34 -0500
committerScott Moser <smoser@nelson>2010-01-08 16:32:34 -0500
commit0c79e64925918a7f78d6e2ba34401367d7cf7c64 (patch)
tree44d581cef003b91c8b16a34b44e7bd454b8dfb29 /upstart/ec2-apt-update.conf
parentdb341c8aef1e6aebf852f9b41876d9da4d82ce27 (diff)
downloadvyos-cloud-init-0c79e64925918a7f78d6e2ba34401367d7cf7c64.tar.gz
vyos-cloud-init-0c79e64925918a7f78d6e2ba34401367d7cf7c64.zip
pull in chuck's repo at rev 75
bzr+ssh://bazaar.launchpad.net/~zulcss/ec2-init/ec2-init-config/
Diffstat (limited to 'upstart/ec2-apt-update.conf')
-rw-r--r--upstart/ec2-apt-update.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/upstart/ec2-apt-update.conf b/upstart/ec2-apt-update.conf
new file mode 100644
index 00000000..b280801b
--- /dev/null
+++ b/upstart/ec2-apt-update.conf
@@ -0,0 +1,13 @@
+# ec2-apt-update - Update archive at boot time
+#
+# Update archive at boot
+
+description "Update archive at boot"
+
+start on (cloud-config
+ and local-filesystems
+ and net-device-up IFACE=eth0)
+console output
+task
+# exec /usr/sbin/cloud-init-run --once ec2-apt-update ec2-apt-update
+exec /usr/sbin/ec2-apt-update