summaryrefslogtreecommitdiff
path: root/upstart/cloud-apt-update-upgrade.conf
diff options
context:
space:
mode:
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