1
0
Fork 0
trainings/userdata
Arnaud M 7bfacd5880 Few changes for creating the jumps correctly
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
2024-01-07 20:02:20 +01:00
..
README.md Few changes for creating the jumps correctly 2024-01-07 20:02:20 +01:00
isen-postinstall.sh Few changes for creating the jumps correctly 2024-01-07 20:02:20 +01:00

README.md

Create jumps

c=20
openstack server create --user-data isen-postinstall.sh --min $c --max $c --flavor small --image 'Debian 12' --net public --key-name arnaud-choupinette isen

List jumps

openstack server list -c Name -c Networks

Delete jumps

openstack server list -c ID -c Name -f value | grep isen | awk '{print $1}' | xargs openstack server delete

Clean the projects, 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