summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-01-22 14:53:30 -0500
committerScott Moser <smoser@ubuntu.com>2010-01-22 14:53:30 -0500
commit23eabb0912dee478f9f949cdcea699773265bcbd (patch)
tree529924b851410e7d5d7838191b773e9a0a56c125 /upstart
parent8c66ea2f37d34c26ee2f6013aa98605c213d0e02 (diff)
downloadvyos-cloud-init-23eabb0912dee478f9f949cdcea699773265bcbd.tar.gz
vyos-cloud-init-23eabb0912dee478f9f949cdcea699773265bcbd.zip
add job to disable metadata
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