summaryrefslogtreecommitdiff
path: root/ec2init.conf.goal
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2009-12-16 15:03:21 -0500
committerScott Moser <smoser@ubuntu.com>2009-12-16 15:03:21 -0500
commit038a9bf8c340c05599727591376cfba7585ea6b2 (patch)
treec98de134d4a7e0128c14dd65e8076fb520be9922 /ec2init.conf.goal
parentcf74dcfe039e935c0f30a6dd542d28ae2e62cc30 (diff)
downloadvyos-cloud-init-038a9bf8c340c05599727591376cfba7585ea6b2.tar.gz
vyos-cloud-init-038a9bf8c340c05599727591376cfba7585ea6b2.zip
add current working ec2init.conf, save ec2init.conf.goal, add disabler
I'm saving ec2init.conf.goal off as the goal. At some point in the future that should be functional. ec2init-disable.conf is present as a debugging tool. If boot hangs due to unsatisfiable conditions in start-on for ec2init.conf, this will disable ec2init.conf so a reboot will come up ec2init.conf running.
Diffstat (limited to 'ec2init.conf.goal')
-rw-r--r--ec2init.conf.goal14
1 files changed, 14 insertions, 0 deletions
diff --git a/ec2init.conf.goal b/ec2init.conf.goal
new file mode 100644
index 00000000..8ee2abef
--- /dev/null
+++ b/ec2init.conf.goal
@@ -0,0 +1,14 @@
+## Hopefully, this is all we need sometime in the future for
+## the ec2init.conf. It will get called as soon as
+## eth0 comes up and / is mounted rw
+##
+## it requires
+## newer mountall than 1.1 (for 'mounted' events)
+##
+start on (mounted MOUNTPOINT=/ and net-device-up IFACE=eth0)
+
+task
+
+console output
+
+exec /usr/bin/ec2-init start