summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorScott Moser <smoser@nelson>2010-01-08 16:32:34 -0500
committerScott Moser <smoser@nelson>2010-01-08 16:32:34 -0500
commit0c79e64925918a7f78d6e2ba34401367d7cf7c64 (patch)
tree44d581cef003b91c8b16a34b44e7bd454b8dfb29 /upstart
parentdb341c8aef1e6aebf852f9b41876d9da4d82ce27 (diff)
downloadvyos-cloud-init-0c79e64925918a7f78d6e2ba34401367d7cf7c64.tar.gz
vyos-cloud-init-0c79e64925918a7f78d6e2ba34401367d7cf7c64.zip
pull in chuck's repo at rev 75
bzr+ssh://bazaar.launchpad.net/~zulcss/ec2-init/ec2-init-config/
Diffstat (limited to 'upstart')
-rw-r--r--upstart/ec2-apt-update.conf13
-rw-r--r--upstart/ec2-ebs-mounts.conf12
-rw-r--r--upstart/ec2-preconf-ssh-keys.conf13
-rw-r--r--upstart/ec2-raid.conf12
-rw-r--r--upstart/ec2-runurl.conf13
-rw-r--r--upstart/ec2-update-software.conf12
6 files changed, 75 insertions, 0 deletions
diff --git a/upstart/ec2-apt-update.conf b/upstart/ec2-apt-update.conf
new file mode 100644
index 00000000..b280801b
--- /dev/null
+++ b/upstart/ec2-apt-update.conf
@@ -0,0 +1,13 @@
+# ec2-apt-update - Update archive at boot time
+#
+# Update archive at boot
+
+description "Update archive at boot"
+
+start on (cloud-config
+ and local-filesystems
+ and net-device-up IFACE=eth0)
+console output
+task
+# exec /usr/sbin/cloud-init-run --once ec2-apt-update ec2-apt-update
+exec /usr/sbin/ec2-apt-update
diff --git a/upstart/ec2-ebs-mounts.conf b/upstart/ec2-ebs-mounts.conf
new file mode 100644
index 00000000..a1457f6a
--- /dev/null
+++ b/upstart/ec2-ebs-mounts.conf
@@ -0,0 +1,12 @@
+# ec2-ebs-mounts
+#
+# Mount EC2 EBS mount points
+
+description "Populate EBS mountpoints"
+
+start on cloud-config
+
+console output
+task
+
+exec /usr/sbin/ec2-ebs-mount
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
diff --git a/upstart/ec2-raid.conf b/upstart/ec2-raid.conf
new file mode 100644
index 00000000..e4364373
--- /dev/null
+++ b/upstart/ec2-raid.conf
@@ -0,0 +1,12 @@
+# ec2-raid - Setup ephemeral storage RAID and mount points
+#
+# Setup ephemeral storage RAID and mount points
+
+description "Setup RAID storage and moint points"
+
+start on (cloud-config
+ and local-filesystem)
+console output
+task
+
+exec /usr/sbin/ec2-setup-raid
diff --git a/upstart/ec2-runurl.conf b/upstart/ec2-runurl.conf
new file mode 100644
index 00000000..28249f8d
--- /dev/null
+++ b/upstart/ec2-runurl.conf
@@ -0,0 +1,13 @@
+# ec2-runurl - Run runurl at boot
+#
+# Runurl at boot
+
+description "Run runurl"
+
+start on (cloud-config
+ and local-filesystem
+ and net-device-ifup IFACE=eth0)
+console output
+task
+
+exec /usr/sbin/ec2-runurl
diff --git a/upstart/ec2-update-software.conf b/upstart/ec2-update-software.conf
new file mode 100644
index 00000000..ee3131d1
--- /dev/null
+++ b/upstart/ec2-update-software.conf
@@ -0,0 +1,12 @@
+# ec2-software-update - Update software at boot
+#
+# Update software at boot
+
+description "Update software at boot"
+
+start on (cloud-config
+ and local-filesystem
+ and net-device-iup IFACE=eth0)
+console output
+
+exec /usr/sbin/ec2-update-software