1
0
Fork 0
trainings/userdata
Arnaud M 08fe71d647 Add missing for source
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
2024-01-02 14:32:50 +01:00
..
README.md Add missing for source 2024-01-02 14:32:50 +01:00
isen-postinstall.sh Install python3-pip libffi-dev python3-venv in postinstall instead of during the TP 2023-03-04 20:58:18 +01:00

README.md

E.G. to boot 20 instances

openstack server create --user-data isen-postinstall.sh --min 20 --max 20 --flavor d2-4 --image 'Debian 11' --net Ext-Net --key-name arnaud-choupinette isen

Then copy/paste openrc files into the servers so that students can do

source /root/openrc

Clean the project, from k8s-1

for o in $(ls -1 /root/openrc_is*) ; do 
    source $o
    echo "Working on $o"
    bash /root/bootstrap-openstack-k8s/extra/clean-project.sh
done