Kommenteare in die Scripte Eingetragen.
This commit is contained in:
8
stop.sh
8
stop.sh
@@ -4,21 +4,19 @@
|
||||
#
|
||||
# Stop given VBox
|
||||
|
||||
# Variablen:
|
||||
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user