From 82b299bbdfb4df55c44b1526491be64cdf89e181 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Fri, 7 Oct 2016 11:16:28 -0500 Subject: [PATCH] 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 --- elements/cloud-init/post-install.d/20-enable-cloud-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/cloud-init/post-install.d/20-enable-cloud-init b/elements/cloud-init/post-install.d/20-enable-cloud-init index 6368bea5..36be728a 100755 --- a/elements/cloud-init/post-install.d/20-enable-cloud-init +++ b/elements/cloud-init/post-install.d/20-enable-cloud-init @@ -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