summaryrefslogtreecommitdiffstats
path: root/systems/rhel/7.5/build_base_machine.sh
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2019-08-30 00:48:32 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2019-08-30 00:53:15 +0530
commit57dce3c68fb63403be15e20f769ba7c38ba26537 (patch)
tree1c9bb8b6443d4c1d08fe9db9c362be13f34d4851 /systems/rhel/7.5/build_base_machine.sh
parent391e5ceb8958eff1f108cc2d589dd3a11c7c48a2 (diff)
Python: Upgrade Python version from 3.4 to 3.6
This patch upgrade python version from 3.4 to 3.6 for the following systems. Centos rhel - 7.2, 7.3 and 7.5 ubuntu For fedora and opensuse - no specific option available. SLES is already using 3.6 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ib1a1cb04441c8fe53339f7f9a66e0266d6ceefe0
Diffstat (limited to 'systems/rhel/7.5/build_base_machine.sh')
-rwxr-xr-xsystems/rhel/7.5/build_base_machine.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/systems/rhel/7.5/build_base_machine.sh b/systems/rhel/7.5/build_base_machine.sh
index 2073a38c..deb4e8a2 100755
--- a/systems/rhel/7.5/build_base_machine.sh
+++ b/systems/rhel/7.5/build_base_machine.sh
@@ -93,14 +93,14 @@ enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
EOT
-# install python34 packages and git-review tool
+# install python36 packages and git-review tool
yum -y install $(echo "
-rh-python34
-rh-python34-python-tkinter
+rh-python36
+rh-python36-python-tkinter
" | grep -v ^#)
-# cleanup python 34 repo file
-rm -f /etc/yum.repos.d/python34.repo
+# cleanup python 36 repo file
+rm -f /etc/yum.repos.d/python36.repo
# Create hugepage dirs
mkdir -p /dev/hugepages