summaryrefslogtreecommitdiff
path: root/sysvinit
diff options
context:
space:
mode:
authorMatthew Thode <mthode@mthode.org>2016-08-21 18:15:56 -0500
committerMatthew Thode <mthode@mthode.org>2016-08-22 10:33:44 -0500
commit1f8b37e0d80534d2055ee2e888f5a7e36c4b98b4 (patch)
tree6c8f3e088ca1eb16b459c4494f5128b94b7d06cf /sysvinit
parent41271bd8609550d02868b7681b49b8791678beaa (diff)
downloadvyos-cloud-init-1f8b37e0d80534d2055ee2e888f5a7e36c4b98b4.tar.gz
vyos-cloud-init-1f8b37e0d80534d2055ee2e888f5a7e36c4b98b4.zip
Fix Gentoo net config generation
This gets Gentoo work on simple configs with static IPs or DHCP on physical interfaces. This gets Gentoo bootable again.
Diffstat (limited to 'sysvinit')
-rw-r--r--sysvinit/gentoo/cloud-config2
-rw-r--r--sysvinit/gentoo/cloud-final2
-rw-r--r--sysvinit/gentoo/cloud-init2
-rw-r--r--sysvinit/gentoo/cloud-init-local2
4 files changed, 4 insertions, 4 deletions
diff --git a/sysvinit/gentoo/cloud-config b/sysvinit/gentoo/cloud-config
index b0fa786d..5618472b 100644
--- a/sysvinit/gentoo/cloud-config
+++ b/sysvinit/gentoo/cloud-config
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
depend() {
after cloud-init-local
diff --git a/sysvinit/gentoo/cloud-final b/sysvinit/gentoo/cloud-final
index b457a354..a9bf01fb 100644
--- a/sysvinit/gentoo/cloud-final
+++ b/sysvinit/gentoo/cloud-final
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
depend() {
after cloud-config
diff --git a/sysvinit/gentoo/cloud-init b/sysvinit/gentoo/cloud-init
index 9ab64ad8..5afc0f2e 100644
--- a/sysvinit/gentoo/cloud-init
+++ b/sysvinit/gentoo/cloud-init
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# add depends for network, dns, fs etc
depend() {
after cloud-init-local
diff --git a/sysvinit/gentoo/cloud-init-local b/sysvinit/gentoo/cloud-init-local
index 9d47263e..9bd0b569 100644
--- a/sysvinit/gentoo/cloud-init-local
+++ b/sysvinit/gentoo/cloud-init-local
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
depend() {
after localmount