From f36080c394a01ba18ccabd3200dd63ba2dfe7dbe Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 24 Aug 2022 17:51:45 -0400 Subject: [PATCH] cobbler: Don't install NetworkManager-initscripts-updown on CentOS9 It's not available. Signed-off-by: David Galloway --- roles/cobbler/templates/snippets/cephlab_packages_rhel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.3