Install python3-pip libffi-dev python3-venv in postinstall instead of during the TP
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
parent
71d3eeb017
commit
6fe575b9ac
|
@ -22,12 +22,18 @@
|
|||
The goal of this workshop is to manipulate and manage OpenStack API from CLI.
|
||||
|
||||
## Install `openstack` cli
|
||||
First, install `openstack` cli from pip:
|
||||
First, install `openstack` cli from pip, inside a virtual env
|
||||
```
|
||||
apt-get install python3-pip libffi-dev python3-venv
|
||||
# Create the virtual env
|
||||
python3 -m venv /opt/oscli
|
||||
|
||||
# Enable the virtual env
|
||||
source /opt/oscli/bin/activate
|
||||
|
||||
# Upgrade pip
|
||||
pip install --upgrade pip
|
||||
|
||||
# Install openstack client
|
||||
pip install python-openstackclient
|
||||
```
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@ apt-get install -y \
|
|||
software-properties-common \
|
||||
git \
|
||||
sshpass \
|
||||
tmux
|
||||
# nginx \
|
||||
tmux \
|
||||
python3-pip libffi-dev python3-venv
|
||||
|
||||
title.print "Configuring tmux and plik"
|
||||
wget https://www.arnaudmorin.fr/tmux.conf -O /root/.tmux.conf
|
||||
|
|
Loading…
Reference in New Issue