Aufgeräumt

This commit is contained in:
braniz
2020-12-28 14:28:51 +01:00
parent 49e8145829
commit ac6e20abbf
12 changed files with 147 additions and 14 deletions

23
test/stop.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
#
# @Branislav Zeljak v0.1
#
# Stop given VBox
clear
VBoxManage list vms
read -p "Wievile VMs sollen gestartet werden?: " VAR_QUAN
read -p "Praefix in der VBox [ubu]: " VAR_NAME
# Variablen:
IFS="
"
VAR_VB="${HOME}/VirtualBox VMs"
VAR_VDI="${HOME}/VirtualBox VMs/VDI/ubu2004_master.vdi"
# Schleife
for N in $(seq 1 $VAR_QUAN)
do
VBoxManage controlvm ${VAR_NAME}-${N} poweroff
done