Kommenteare in die Scripte Eingetragen.

This commit is contained in:
braniz
2020-11-15 16:22:14 +01:00
parent 51ffb795b7
commit f723d4b3a9
10 changed files with 42 additions and 40 deletions

View File

@@ -4,18 +4,17 @@
#
# Create VBox from template
# Variablen:
clear
# Eingabe Aufforderung
read -p "Wievile Ubuntu VMs werden benoetigt?: " VAR_QUAN
read -p "Praefix Host Name [ubu]: " VAR_NAME
read -p "CPUs [1]: " VAR_CPU
read -p "Memory [1024] : " VAR_MEM
# Variablen:
IFS="
"
VAR_NAME=${VAR_NAME:-ubu}
VAR_CPU=${VAR_CPU:-1}
VAR_MEM=${VAR_MEM:-1024}
@@ -27,6 +26,7 @@ VAR_VB="${HOME}/VirtualBox VMs"
VAR_VDI="${HOME}/VirtualBox VMs/VDI/ubu2004_master.vdi"
# Schleife zur Erzeugung der VMs
for N in $(seq 1 $VAR_QUAN)
do
VBoxManage createvm \