summaryrefslogtreecommitdiff
path: root/upstart/cloud-apt-update-upgrade.conf
diff options
context:
space:
mode:
authorScott Moser <smoser@nelson>2010-01-11 23:29:18 -0500
committerScott Moser <smoser@nelson>2010-01-11 23:29:18 -0500
commit969cbd1b5daa98a6e4d0d87750bde348fcf267e6 (patch)
tree62e3678a5c6dfea631726acb112fc9c924a4095b /upstart/cloud-apt-update-upgrade.conf
parentd29998f111bf02e66d600b0aefbb12fc2517d5d6 (diff)
downloadvyos-cloud-init-969cbd1b5daa98a6e4d0d87750bde348fcf267e6.tar.gz
vyos-cloud-init-969cbd1b5daa98a6e4d0d87750bde348fcf267e6.zip
refactor the config class and jobs to run through cloud-init-cfg
At this point, the following should be functional: cloud-init-cfg apt-update-upgrade
Diffstat (limited to 'upstart/cloud-apt-update-upgrade.conf')
-rw-r--r--upstart/cloud-apt-update-upgrade.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/upstart/cloud-apt-update-upgrade.conf b/upstart/cloud-apt-update-upgrade.conf
new file mode 100644
index 00000000..a5060f69
--- /dev/null
+++ b/upstart/cloud-apt-update-upgrade.conf
@@ -0,0 +1,12 @@
+# ec2-software-update - Update software at boot
+#
+# Update software at boot
+
+description "Update software at boot"
+
+start on (cloud-config
+ and local-filesystem
+ and net-device-up IFACE=eth0)
+console output
+
+exec cloud-init-cfg apt-update-upgrade