summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
Diffstat (limited to 'upstart')
-rw-r--r--upstart/cat-cloud-config.conf7
-rw-r--r--upstart/ec2init.conf7
2 files changed, 14 insertions, 0 deletions
diff --git a/upstart/cat-cloud-config.conf b/upstart/cat-cloud-config.conf
new file mode 100644
index 00000000..3f053896
--- /dev/null
+++ b/upstart/cat-cloud-config.conf
@@ -0,0 +1,7 @@
+description "Cat the Config"
+
+start on cloud-config
+console output
+task
+
+exec cloud-init-run-module once_per_ami catconfig execute cat $CLOUD_CFG
diff --git a/upstart/ec2init.conf b/upstart/ec2init.conf
new file mode 100644
index 00000000..2168726e
--- /dev/null
+++ b/upstart/ec2init.conf
@@ -0,0 +1,7 @@
+start on (local-filesystems and net-device-up IFACE=eth0)
+
+task
+
+console output
+
+exec /usr/bin/ec2-init start