diff options
author | Scott Moser <smoser@nelson> | 2010-01-06 14:05:25 -0500 |
---|---|---|
committer | Scott Moser <smoser@nelson> | 2010-01-06 14:05:25 -0500 |
commit | 6f58655f2893a2a8e2edc85130d98294d5cf4ad1 (patch) | |
tree | 190c8fecebf3dfba86091edcd1c6f5feab101f38 /upstart | |
parent | ca3cafbb65655bf0de40e8a44b608932694a5594 (diff) | |
download | vyos-cloud-init-6f58655f2893a2a8e2edc85130d98294d5cf4ad1.tar.gz vyos-cloud-init-6f58655f2893a2a8e2edc85130d98294d5cf4ad1.zip |
put upstart files in upstart/, minor other changes
adding cat-cloud-config.conf, a debug file that just cats the config
Diffstat (limited to 'upstart')
-rw-r--r-- | upstart/cat-cloud-config.conf | 7 | ||||
-rw-r--r-- | upstart/ec2init.conf | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/upstart/cat-cloud-config.conf b/upstart/cat-cloud-config.conf new file mode 100644 index 00000000..3f053896 --- /dev/null +++ b/upstart/cat-cloud-config.conf @@ -0,0 +1,7 @@ +description "Cat the Config" + +start on cloud-config +console output +task + +exec cloud-init-run-module once_per_ami catconfig execute cat $CLOUD_CFG diff --git a/upstart/ec2init.conf b/upstart/ec2init.conf new file mode 100644 index 00000000..2168726e --- /dev/null +++ b/upstart/ec2init.conf @@ -0,0 +1,7 @@ +start on (local-filesystems and net-device-up IFACE=eth0) + +task + +console output + +exec /usr/bin/ec2-init start |