diff options
author | Matthew Thode <mthode@mthode.org> | 2016-10-07 10:57:28 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-10-18 12:20:18 -0400 |
commit | e772f52bf77ef8e01db934167a974ca31b7cd61f (patch) | |
tree | 064a943f79c2561b1bb7076c1be48e2b68c19f63 /sysvinit/gentoo/cloud-init-local | |
parent | 808edb127507d91ecee1834aaf5cf1f000cd6e28 (diff) | |
download | vyos-cloud-init-e772f52bf77ef8e01db934167a974ca31b7cd61f.tar.gz vyos-cloud-init-e772f52bf77ef8e01db934167a974ca31b7cd61f.zip |
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.
Diffstat (limited to 'sysvinit/gentoo/cloud-init-local')
-rw-r--r-- | sysvinit/gentoo/cloud-init-local | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |