summaryrefslogtreecommitdiff
path: root/upstart/cloud-config-ssh.conf
diff options
context:
space:
mode:
Diffstat (limited to 'upstart/cloud-config-ssh.conf')
-rw-r--r--upstart/cloud-config-ssh.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/upstart/cloud-config-ssh.conf b/upstart/cloud-config-ssh.conf
new file mode 100644
index 00000000..65d29941
--- /dev/null
+++ b/upstart/cloud-config-ssh.conf
@@ -0,0 +1,13 @@
+# ec2-preconf-ssh-keys
+#
+# Download preconfigured ssh-keys for EC2.
+
+description "Download preconfigured ssh keys"
+
+start on (cloud-config
+ and local-filesystem
+ and net-device-ifup IFACE=eth0 and starting ssh)
+console output
+task
+
+exec cloud-init-cfg config-ssh