summaryrefslogtreecommitdiff
path: root/upstart/ec2-preconf-ssh-keys.conf
diff options
context:
space:
mode:
Diffstat (limited to 'upstart/ec2-preconf-ssh-keys.conf')
-rw-r--r--upstart/ec2-preconf-ssh-keys.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/upstart/ec2-preconf-ssh-keys.conf b/upstart/ec2-preconf-ssh-keys.conf
new file mode 100644
index 00000000..383b5bbc
--- /dev/null
+++ b/upstart/ec2-preconf-ssh-keys.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)
+console out
+task
+
+exec /usr/sbin/ec2-preconf-ssh-keys