summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate House nathan.house@rackspace.com <>2014-01-24 15:57:35 -0600
committerNate House nathan.house@rackspace.com <>2014-01-24 15:57:35 -0600
commit2b416f666e26f37ad694d9cdefd0a80b77009848 (patch)
tree010fe330254f6934497df3ff44d1c55819db3d33
parent29780092f57931d7c22bfbf3af37dea00edc76c9 (diff)
downloadvyos-cloud-init-2b416f666e26f37ad694d9cdefd0a80b77009848.tar.gz
vyos-cloud-init-2b416f666e26f37ad694d9cdefd0a80b77009848.zip
Fixes gentoo sysvinit ordering
-rw-r--r--sysvinit/gentoo/cloud-config5
-rw-r--r--sysvinit/gentoo/cloud-final4
-rw-r--r--sysvinit/gentoo/cloud-init2
-rw-r--r--sysvinit/gentoo/cloud-init-local3
4 files changed, 6 insertions, 8 deletions
diff --git a/sysvinit/gentoo/cloud-config b/sysvinit/gentoo/cloud-config
index affd0cb3..b0fa786d 100644
--- a/sysvinit/gentoo/cloud-config
+++ b/sysvinit/gentoo/cloud-config
@@ -1,9 +1,8 @@
#!/sbin/runscript
depend() {
- after net # remove after nova-agent fix
- before cloud-init-local
- before cloud-init
+ after cloud-init-local
+ after cloud-init
before cloud-final
provide cloud-config
}
diff --git a/sysvinit/gentoo/cloud-final b/sysvinit/gentoo/cloud-final
index 140c0f8e..b457a354 100644
--- a/sysvinit/gentoo/cloud-final
+++ b/sysvinit/gentoo/cloud-final
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# add depends for network, dns, fs etc
+
depend() {
- after cloud-init
+ after cloud-config
provide cloud-final
}
diff --git a/sysvinit/gentoo/cloud-init b/sysvinit/gentoo/cloud-init
index 6f3ff8ed..9ab64ad8 100644
--- a/sysvinit/gentoo/cloud-init
+++ b/sysvinit/gentoo/cloud-init
@@ -2,7 +2,7 @@
# add depends for network, dns, fs etc
depend() {
after cloud-init-local
- before cloud-final
+ before cloud-config
provide cloud-init
}
diff --git a/sysvinit/gentoo/cloud-init-local b/sysvinit/gentoo/cloud-init-local
index 7c39ff78..1d22a79d 100644
--- a/sysvinit/gentoo/cloud-init-local
+++ b/sysvinit/gentoo/cloud-init-local
@@ -1,9 +1,8 @@
#!/sbin/runscript
depend() {
- after cloud-config
+ after net # remove after nova-agent fix
before cloud-init
- before cloud-final
provide cloud-init-local
}