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]
/
env
/
metal3
/
01_install_package.sh
diff --git
a/env/metal3/01_install_package.sh
b/env/metal3/01_install_package.sh
index
485fd18
..
4d4be9f
100755
(executable)
--- a/
env/metal3/01_install_package.sh
+++ b/
env/metal3/01_install_package.sh
@@
-21,15
+21,18
@@
function install_essential_packages {
nmap \
patch \
psmisc \
nmap \
patch \
psmisc \
- python-pip \
- python-requests \
- python-setuptools \
+ python
3
-pip \
+ python
3
-requests \
+ python
3
-setuptools \
vim \
wget \
git \
software-properties-common \
bridge-utils
vim \
wget \
git \
software-properties-common \
bridge-utils
+ update-alternatives --install /usr/bin/python python /usr/bin/python3 1
+ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
+
add-apt-repository -y ppa:longsleep/golang-backports
apt-get update
apt-get install golang-go -y
add-apt-repository -y ppa:longsleep/golang-backports
apt-get update
apt-get install golang-go -y
@@
-40,11
+43,11
@@
function install_ironic_packages {
apt-get -y install \
jq \
nodejs \
apt-get -y install \
jq \
nodejs \
- python-ironicclient \
- python-ironic-inspector-client \
- python-lxml \
- python-netaddr \
- python-openstackclient \
+ python
3
-ironicclient \
+ python
3
-ironic-inspector-client \
+ python
3
-lxml \
+ python
3
-netaddr \
+ python
3
-openstackclient \
unzip \
genisoimage \
whois
unzip \
genisoimage \
whois