Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update to python3
[icn.git]
/
deploy
/
metal3-vm
/
ubuntu_install_requirements.sh
diff --git
a/deploy/metal3-vm/ubuntu_install_requirements.sh
b/deploy/metal3-vm/ubuntu_install_requirements.sh
index
503813a
..
5559c63
100755
(executable)
--- a/
deploy/metal3-vm/ubuntu_install_requirements.sh
+++ b/
deploy/metal3-vm/ubuntu_install_requirements.sh
@@
-1,5
+1,5
@@
#!/usr/bin/env bash
#!/usr/bin/env bash
-set -e
x
+set -e
ux -o pipefail
# shellcheck disable=SC1091
source lib/logging.sh
# shellcheck disable=SC1091
source lib/logging.sh
@@
-42,10
+42,11
@@
sudo apt -y install \
nmap \
patch \
psmisc \
nmap \
patch \
psmisc \
- python-pip \
+ python
3
-pip \
wget
wget
-
+sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
+sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
# Install pyenv
# Install pyenv
@@
-70,9
+71,6
@@
if [[ $PATH != *pyenv* ]]; then
fi
fi
fi
fi
-pyenv install -s 2.7.5
-pyenv versions
-pyenv global 2.7.5
# There are some packages which are newer in the tripleo repos
# Setup yarn and nodejs repositories
# There are some packages which are newer in the tripleo repos
# Setup yarn and nodejs repositories
@@
-98,10
+96,7
@@
sudo apt -y install \
nodejs \
qemu-kvm \
libvirt-bin libvirt-clients libvirt-dev \
nodejs \
qemu-kvm \
libvirt-bin libvirt-clients libvirt-dev \
- python-ironicclient \
- python-ironic-inspector-client \
golang-go \
golang-go \
- python-lxml \
unzip \
yarn \
genisoimage
unzip \
yarn \
genisoimage