The provisioning script fails with errors while
trying to install python36 on CentOS8 image build.
python 3.6 is EOL, bump the install script to use python 3.8.
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I0431ee938c9da1c254e9ccc80c0e7d760bbde0ff
fi
if is_centos8; then
- echo "Install python36"
+ echo "Install python38"
dnf clean all
- dnf install -y python36
+ dnf install -y python38
fi
-type python || type python3
+type python3
# Ansible requires sudo so ensure it is available.
if ! command -v sudo; then