start cloud-init-local in the boot 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.

Change-Id: Ifeae0071fc9e738ec223ec0df271559ad6e0196b
This commit is contained in:
Matthew Thode 2016-10-07 11:16:28 -05:00
parent 5897e4975d
commit 82b299bbdf
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8

View File

@ -10,6 +10,6 @@ set -o pipefail
if [[ "${DISTRO_NAME}" == "gentoo" ]]; then
rc-update add cloud-config default
rc-update add cloud-final default
rc-update add cloud-init-local default
rc-update add cloud-init-local boot
rc-update add cloud-init default
fi