Wed Dec 20 08:41:56 PM CET 2023

This commit is contained in:
root 2023-12-20 20:41:56 +01:00
parent 04afe129b0
commit d94220bfe3
2 changed files with 3 additions and 14 deletions

View File

@ -3,20 +3,9 @@
random=$1
lxc project switch $random
lxc stop $random-csgo2-00
lxc delete $random-csgo2-00
container=`lxc ls | tail -2 | head -1 | awk '{ print $2 }'`
lxc stop $container
lxc delete $container
lxc project delete $random
lxc network delete vn-$random
#node1=`nmctl node list | grep $random | grep k2c-1 | awk '{print $16}'`
#node2=`nmctl node list | grep $random | grep k2c-2 | awk '{print $16}'`
#node3=`nmctl node list | grep $random | grep k2c-3 | awk '{print $16}'`
#otto=`nmctl node list | grep $random | grep otto | awk '{print $16}'`
#nmctl node delete $random $node1
#nmctl node delete $random $node2
#nmctl node delete $random $node3
#nmctl node delete $random $otto
#nmctl network delete $random

0
options-example.sh Normal file → Executable file
View File