From: David Galloway Date: Wed, 24 Aug 2022 21:51:45 +0000 (-0400) Subject: cobbler: Don't install NetworkManager-initscripts-updown on CentOS9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f36080c394a01ba18ccabd3200dd63ba2dfe7dbe;p=ceph-cm-ansible.git cobbler: Don't install NetworkManager-initscripts-updown on CentOS9 It's not available. Signed-off-by: David Galloway --- diff --git a/roles/cobbler/templates/snippets/cephlab_packages_rhel b/roles/cobbler/templates/snippets/cephlab_packages_rhel index 09b18c44..97a7b65e 100644 --- a/roles/cobbler/templates/snippets/cephlab_packages_rhel +++ b/roles/cobbler/templates/snippets/cephlab_packages_rhel @@ -15,10 +15,13 @@ python3 #set distro_ver_minor = $distro_ver.split(".")[1] ## These packages are available in all RHEL/CentOS versions but not Fedora perl -## These packages are not available in CentOS 9 Stream #if int($distro_ver_major) >= 9 +#if $distro == 'RHEL' +# Needed in RHEL9 but not CentOS9 NetworkManager-initscripts-updown #end if +#end if +## These packages are not available in CentOS 9 Stream #if int($distro_ver_major) < 9 redhat-lsb-core #end if