Update python version from 2.7.5 to 2.7.18
[icn.git] / deploy / metal3-vm / ubuntu_install_requirements.sh
index a72152c..fc1974d 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
-set -ex
+set -eux -o pipefail
 
 # shellcheck disable=SC1091
 source lib/logging.sh
@@ -70,9 +70,9 @@ if [[ $PATH != *pyenv* ]]; then
   fi
 fi
 
-pyenv install -s 2.7.5
+pyenv install -s 2.7.18
 pyenv versions
-pyenv global 2.7.5
+pyenv global 2.7.18
 # There are some packages which are newer in the tripleo repos
 
 # Setup yarn and nodejs repositories
@@ -130,11 +130,11 @@ sudo pip install \
   ansible==2.8.2 \
   lolcat \
   yq \
-  virtualbmc \
+  virtualbmc==1.6.0 \
   python-ironicclient \
   python-ironic-inspector-client \
   lxml \
   netaddr \
   requests \
   setuptools \
-  libvirt-python \
+  libvirt-python==5.7.0 \