diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-02-13 21:18:17 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-02-13 21:18:17 -0500 |
commit | 4ba72556193219f90c313f62d0d309761bb53c6b (patch) | |
tree | 2ad80e184d53a85a1fe5933ad106249bc522da35 /sysvinit | |
parent | 507aeed12312af7fc8a9fcfca6b845183a5a3c51 (diff) | |
parent | 053667688d7c2ad51e569c62e00dac1942e46f62 (diff) | |
download | vyos-cloud-init-4ba72556193219f90c313f62d0d309761bb53c6b.tar.gz vyos-cloud-init-4ba72556193219f90c313f62d0d309761bb53c6b.zip |
merge from trunk
Diffstat (limited to 'sysvinit')
-rw-r--r-- | sysvinit/gentoo/cloud-config | 13 | ||||
-rw-r--r-- | sysvinit/gentoo/cloud-final | 11 | ||||
-rw-r--r-- | sysvinit/gentoo/cloud-init | 12 | ||||
-rw-r--r-- | sysvinit/gentoo/cloud-init-local | 13 |
4 files changed, 49 insertions, 0 deletions
diff --git a/sysvinit/gentoo/cloud-config b/sysvinit/gentoo/cloud-config new file mode 100644 index 00000000..b0fa786d --- /dev/null +++ b/sysvinit/gentoo/cloud-config @@ -0,0 +1,13 @@ +#!/sbin/runscript + +depend() { + after cloud-init-local + after cloud-init + before cloud-final + provide cloud-config +} + +start() { + cloud-init modules --mode config + eend 0 +} diff --git a/sysvinit/gentoo/cloud-final b/sysvinit/gentoo/cloud-final new file mode 100644 index 00000000..b457a354 --- /dev/null +++ b/sysvinit/gentoo/cloud-final @@ -0,0 +1,11 @@ +#!/sbin/runscript + +depend() { + after cloud-config + provide cloud-final +} + +start() { + cloud-init modules --mode final + eend 0 +} diff --git a/sysvinit/gentoo/cloud-init b/sysvinit/gentoo/cloud-init new file mode 100644 index 00000000..9ab64ad8 --- /dev/null +++ b/sysvinit/gentoo/cloud-init @@ -0,0 +1,12 @@ +#!/sbin/runscript +# add depends for network, dns, fs etc +depend() { + after cloud-init-local + before cloud-config + provide cloud-init +} + +start() { + cloud-init init + eend 0 +} diff --git a/sysvinit/gentoo/cloud-init-local b/sysvinit/gentoo/cloud-init-local new file mode 100644 index 00000000..9d47263e --- /dev/null +++ b/sysvinit/gentoo/cloud-init-local @@ -0,0 +1,13 @@ +#!/sbin/runscript + +depend() { + after localmount + after netmount + before cloud-init + provide cloud-init-local +} + +start() { + cloud-init init --local + eend 0 +} |