23 lines
625 B
Bash
Executable File
23 lines
625 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
random=$1
|
|
lxc project switch $random
|
|
|
|
lxc stop $random-csgo2-00
|
|
lxc delete $random-csgo2-00
|
|
|
|
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
|