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-local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysvinit/gentoo/cloud-init-local') diff --git a/sysvinit/gentoo/cloud-init-local b/sysvinit/gentoo/cloud-init-local index 9bd0b569..0f8cf65c 100644 --- a/sysvinit/gentoo/cloud-init-local +++ b/sysvinit/gentoo/cloud-init-local @@ -2,7 +2,7 @@ depend() { after localmount - after netmount + before net before cloud-init provide cloud-init-local } -- cgit v1.2.3