Julia Kreger a106110fcf 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
2024-06-18 12:17:09 -07:00

16 lines
404 B
Bash

if [[ $DISTRO_NAME =~ (fedora|centos|rhel) ]]; then
export IPA_DISTRO_FAMILY=rh
else
export IPA_DISTRO_FAMILY=other
fi
if [[ ${DISTRO_NAME} =~ (centos|rhel) ]]; then
export DIB_DHCP_NETWORK_MANAGER_AUTO=${DIB_DHCP_NETWORK_MANAGER_AUTO:-true}
fi
# NOTE(rpittau) force Python version to 3 for debian
if [[ $DISTRO_NAME =~ debian ]]; then
DIB_PYTHON_VERSION=3
export DIB_PYTHON_VERSION
fi