cd3408613a
The conditions are left in the code in case someone somehow make it work. We can clean them up later. Change-Id: I65f6da0e90560c00eb82e8e4366fdaf3bbde8da1
16 lines
434 B
Bash
16 lines
434 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) && ${DIB_RELEASE%-stream} > 7 ]]; 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
|