summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
Diffstat (limited to 'upstart')
-rw-r--r--upstart/cloud-disable-ec2-metadata.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/upstart/cloud-disable-ec2-metadata.conf b/upstart/cloud-disable-ec2-metadata.conf
new file mode 100644
index 00000000..9c8df3a8
--- /dev/null
+++ b/upstart/cloud-disable-ec2-metadata.conf
@@ -0,0 +1,11 @@
+# ec2-preconf-ssh-keys
+#
+# Download preconfigured ssh-keys for EC2.
+
+description "Download preconfigured ssh keys"
+
+start on (cloud-config and local-filesystems)
+console output
+task
+
+exec cloud-init-cfg disable-ec2-metadata