From: Anil Belur Date: Tue, 5 Apr 2022 02:33:34 +0000 (+1000) Subject: Chore: Update to python38 X-Git-Tag: v0.10.2~6 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=c4fb8817be3aa8f12d95bbd9eda8a774a4b530f9;p=releng%2Fcommon-packer.git Chore: Update to python38 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 Change-Id: I0431ee938c9da1c254e9ccc80c0e7d760bbde0ff --- diff --git a/provision/install-python.sh b/provision/install-python.sh index c5e9e6e..c98cf71 100755 --- a/provision/install-python.sh +++ b/provision/install-python.sh @@ -96,12 +96,12 @@ if is_ubuntu; then 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