From e772f52bf77ef8e01db934167a974ca31b7cd61f Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Fri, 7 Oct 2016 10:57:28 -0500 Subject: update Gentoo initscripts to run in the correct order cloud-init-local needs to be run before net (and in the boot runlevel) as it sets up networking config and adds it to the default runlevel. cloud-init-local needs to be run in the boot runlevel because it modifies services in the default runlevel. When a runlevel is started it is cached, so modifications that happen to the current runlevel while you are in it are not acted upon. cloud-init needs to run after net, it does not need net because we still want it to set up other things if it can. --- sysvinit/gentoo/cloud-init | 1 + 1 file changed, 1 insertion(+) (limited to 'sysvinit/gentoo/cloud-init') diff --git a/sysvinit/gentoo/cloud-init b/sysvinit/gentoo/cloud-init index 5afc0f2e..531a715d 100644 --- a/sysvinit/gentoo/cloud-init +++ b/sysvinit/gentoo/cloud-init @@ -2,6 +2,7 @@ # add depends for network, dns, fs etc depend() { after cloud-init-local + after net before cloud-config provide cloud-init } -- cgit v1.2.3