Merge "Remove cloud-init when using simple-init"

This commit is contained in:
Zuul 2023-12-14 19:05:33 +00:00 committed by Gerrit Code Review
commit 72513f6bdf
3 changed files with 12 additions and 0 deletions

View File

@ -9,6 +9,11 @@ present in the host cloud. Additionally, in environments where cloud-init
is not used, there are a couple of small things, like mounting config-drive is not used, there are a couple of small things, like mounting config-drive
and pulling ssh keys from it, that need to be done at boot time. and pulling ssh keys from it, that need to be done at boot time.
.. note::
This element removes cloud-init as it can stomp on the configuration
applied by glean, resulting in additional problems for operators,
and a more difficult path troubleshooting.
Autodetect network interfaces during boot and configure them Autodetect network interfaces during boot and configure them
------------------------------------------------------------ ------------------------------------------------------------

View File

@ -7,3 +7,5 @@ NetworkManager:
when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0 when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0
NetworkManager-initscripts-ifcfg-rh: NetworkManager-initscripts-ifcfg-rh:
when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0 when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0
cloud-init:
uninstall: True

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Use of the ``simple-init`` element now removes ``cloud-init``, in order
to prevent the two tools from clashing when booting a workload.