Anpassungen

This commit is contained in:
braniz
2022-04-22 10:11:56 +02:00
parent 5fdce156e6
commit c252f7f5d4
17 changed files with 37 additions and 33 deletions
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
+1 -1
View File
@@ -48,7 +48,7 @@ IFS="
" "
VAR_PATH="/srv/data/ISO/" VAR_PATH="/srv/data/ISO/"
VAR_VB="/srv/vbox" VAR_VB="/srv/vbox_data"
VAR_CPU=${VAR_CPU:-1} VAR_CPU=${VAR_CPU:-1}
VAR_MEM=${VAR_MEM:-2048} VAR_MEM=${VAR_MEM:-2048}
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+36 -32
View File
@@ -7,42 +7,46 @@ clear
echo "user01/Start1234" echo "user01/Start1234"
echo "Welches OS soll Installiert werden" echo "Welches OS soll Installiert werden"
echo echo
COLUMNS=8 COLUMNS=9
PS3='Please enter your choice: ' PS3='Please enter your choice: '
options=("Ubuntu CLI" "Ubuntu GUI" "Ubuntu GUI local repo" "Debian CLI" "Debian GUI" "CentOS" "Quit") options=("Ubuntu CLI" "Ubuntu GUI" "Ubuntu GUI-D" "Ubuntu GUI-D GBox" "Debian CLI" "Debian GUI" "CentOS" "Quit")
select opt in "${options[@]}" select opt in "${options[@]}"
do do
case $opt in case $opt in
"Ubuntu CLI") "Ubuntu CLI")
VAR_OS="Ubuntu_64" VAR_OS="Ubuntu_64"
VAR_VDI="ubu2004-CLI/ubu2004-CLI.vdi" VAR_VDI="ubu2004-CLI.vdi"
;; ;;
"Ubuntu GUI") "Ubuntu GUI")
VAR_OS="Ubuntu_64" VAR_OS="Ubuntu_64"
VAR_VDI="ubu2004-GUI/ubu2004-GUI.vdi" VAR_VDI="ubu2004-GUI.vdi"
;; ;;
"Ubuntu GUI local repo") "Ubuntu GUI-D")
VAR_OS="Ubunut_64" VAR_OS="Ubuntu_64"
VAR_VDI="ubu2004-VHS/ubu2004-VHS.vdi" VAR_VDI="ubu2004-GUI-D.vdi"
;; ;;
"Debian CLI") "Ubuntu GUI-D GBox")
VAR_OS="Debian_64" VAR_OS="Ubuntu_64"
VAR_VDI="deb-CLI/deb-CLI.vdi" VAR_VDI="ubu2004-GUI-D-GBox.vdi"
;; ;;
"Debian GUI") "Debian CLI")
VAR_OS="Debian_64" VAR_OS="Debian_64"
VAR_VDI="deb-GUI/deb-GUI.vdi" VAR_VDI="deb-CLI/deb-CLI.vdi"
;; ;;
"CentOS") "Debian GUI")
VAR_OS="RedHat_64" VAR_OS="Debian_64"
VAR_VDI="master_co8.vdi" VAR_VDI="deb-GUI/deb-GUI.vdi"
;; ;;
"Quit") "CentOS")
break VAR_OS="RedHat_64"
;; VAR_VDI="master_co8.vdi"
*) ;;
echo "invalid option $REPLY" "Quit")
;; break
;;
*)
echo "invalid option $REPLY"
;;
esac esac
# Eingabe Auffoderung # Eingabe Auffoderung