diff options
author | Nate House nathan.house@rackspace.com <> | 2014-01-23 16:51:49 -0600 |
---|---|---|
committer | Nate House nathan.house@rackspace.com <> | 2014-01-23 16:51:49 -0600 |
commit | 7e2d084eabbabd035e56a65c52b277a0732b09d5 (patch) | |
tree | 49b4059f13c3bdbc4f48a7648858908909ee1a51 /sysvinit/gentoo | |
parent | 50076145457e5857896493cb5c063944da03772c (diff) | |
download | vyos-cloud-init-7e2d084eabbabd035e56a65c52b277a0732b09d5.tar.gz vyos-cloud-init-7e2d084eabbabd035e56a65c52b277a0732b09d5.zip |
Initial add Gentoo distro
Diffstat (limited to 'sysvinit/gentoo')
-rw-r--r-- | sysvinit/gentoo/cloud-config | 14 | ||||
-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, 50 insertions, 0 deletions
diff --git a/sysvinit/gentoo/cloud-config b/sysvinit/gentoo/cloud-config new file mode 100644 index 00000000..affd0cb3 --- /dev/null +++ b/sysvinit/gentoo/cloud-config @@ -0,0 +1,14 @@ +#!/sbin/runscript + +depend() { + after net # remove after nova-agent fix + before cloud-init-local + before 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..140c0f8e --- /dev/null +++ b/sysvinit/gentoo/cloud-final @@ -0,0 +1,11 @@ +#!/sbin/runscript +# add depends for network, dns, fs etc +depend() { + after cloud-init + 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..6f3ff8ed --- /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-final + 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..7c39ff78 --- /dev/null +++ b/sysvinit/gentoo/cloud-init-local @@ -0,0 +1,13 @@ +#!/sbin/runscript + +depend() { + after cloud-config + before cloud-init + before cloud-final + provide cloud-init-local +} + +start() { + cloud-init init --local + eend 0 +} |