Merge "enable cloud-init by default on systemd"

This commit is contained in:
Zuul 2022-01-14 19:47:41 +00:00 committed by Gerrit Code Review
commit bef53f2674

View File

@ -13,3 +13,10 @@ if [[ "${DIB_INIT_SYSTEM}" == "openrc" ]]; then
rc-update add cloud-init-local boot rc-update add cloud-init-local boot
rc-update add cloud-init default rc-update add cloud-init default
fi fi
if [[ "${DIB_INIT_SYSTEM}" == "systemd" ]]; then
systemctl enable cloud-config.service
systemctl enable cloud-final.service
systemctl enable cloud-init-local.service
systemctl enable cloud-init.service
fi