From a106110fcffd664059f67509993ce6ee6f38be81 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Tue, 18 Jun 2024 12:17:09 -0700 Subject: [PATCH] Remove centos7 specific logic check At this point, we are no longer supporting Centos7 ramdisks and don't need to have extra logic to navigate the difference. Change-Id: I9027b45f1f77f2cd188a8c5eed2ef082c3abdd09 --- .../environment.d/20-ipa-distro-family.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dib/ironic-python-agent-ramdisk/environment.d/20-ipa-distro-family.bash b/dib/ironic-python-agent-ramdisk/environment.d/20-ipa-distro-family.bash index a06ff92..371d275 100644 --- a/dib/ironic-python-agent-ramdisk/environment.d/20-ipa-distro-family.bash +++ b/dib/ironic-python-agent-ramdisk/environment.d/20-ipa-distro-family.bash @@ -4,7 +4,7 @@ else export IPA_DISTRO_FAMILY=other fi -if [[ ${DISTRO_NAME} =~ (centos|rhel) && ${DIB_RELEASE%-stream} > 7 ]]; then +if [[ ${DISTRO_NAME} =~ (centos|rhel) ]]; then export DIB_DHCP_NETWORK_MANAGER_AUTO=${DIB_DHCP_NETWORK_MANAGER_AUTO:-true} fi