From a6a1b944832ae5df4edd96928b208fdec427e116 Mon Sep 17 00:00:00 2001 From: Arnaud M Date: Tue, 2 Jan 2024 14:32:08 +0100 Subject: [PATCH] Make script easier to read Signed-off-by: Arnaud M --- userdata/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/userdata/README.md b/userdata/README.md index c31b2e9..6bd2355 100644 --- a/userdata/README.md +++ b/userdata/README.md @@ -1,13 +1,18 @@ # E.G. to boot 20 instances + +```bash 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 +```bash 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 +```