two-images: rocky10, profils NM de cloud-init nommés par interface #1
All checks were successful
Tests / check (push) Successful in 38s

cloud-init 24.4 nomme le profil NetworkManager d'après la clé du
network-config (eth0) et le cherche d'après l'interface (ens3) : la
2e interface n'est jamais activée, et au redémarrage le profil de
repli porte le même UUID, nmcli up échoue (degraded done).

Correctif dans l'image : fichier nommé par interface, contrôlé par
check.sh. test.sh sert un network-config au format de two (2 NIC
décrites, 1 sans entrée) et vérifie cloud-init après redémarrage.

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-11-06 00:32:01 +01:00
commit 344363d49c
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
5 changed files with 52 additions and 13 deletions

View file

@ -23,7 +23,7 @@ wait_cloud_init () {
install_tools () {
case "${FAMILY}" in
rocky) dnf -y -q install qemu-img augeas xfsprogs ;;
rocky) dnf -y -q install qemu-img augeas xfsprogs patch ;;
debian) DEBIAN_FRONTEND=noninteractive apt-get -qq update \
&& DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends qemu-utils e2fsprogs ;;
esac