set default DIB_PYTHON_VERSION=2 for rhel7
python 3 not exist on minimal/KVM guest image. set default python version 2 for rhel7 also. Change-Id: Icbc10e742da8dded25625a1eed0a79065702837d
This commit is contained in:
parent
e0a2163157
commit
4789aa317e
@ -16,6 +16,8 @@ if [ -z "${DIB_PYTHON_VERSION:-}" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
elif [ "$DISTRO_NAME" == "centos7" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
elif [ "$DISTRO_NAME" == "rhel7" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
elif [ "$DISTRO_NAME" == "opensuse" ]; then
|
||||
DIB_PYTHON_VERSION=2
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user