Ubuntu GUI

This commit is contained in:
braniz
2021-07-25 14:09:45 +02:00
parent b6f08cb8fa
commit 9363f45c9c
3 changed files with 10 additions and 6 deletions

View File

@@ -9,14 +9,18 @@ echo "Welches OS soll Installiert werden"
echo
COLUMNS=6
PS3='Please enter your choice: '
options=("Ubuntu" "CentOS" "Quit")
options=("Ubuntu SRV" "Ubuntu GUI" "CentOS" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Ubuntu")
"Ubuntu SRV")
VAR_OS="Ubuntu_64"
VAR_ISO="ubuntu-20.04.1-live-server-amd64.iso"
;;
"Ubuntu GUI")
VAR_OS="Ubuntu_64"
VAR_ISO="ubuntu-20.04.1-desktop-amd64.iso"
;;
"CentOS")
VAR_OS="RedHat_64"
VAR_ISO="CentOS-8.3.2011-x86_64-boot.iso"
@@ -78,8 +82,8 @@ do
VBoxManage createhd \
--filename ${VAR_VB}/${VAR_NAME}-${N}/${VAR_NAME}-${N}_DISK1.vdi \
--size 10240 \
--format VDI
--size 102400
--format VDI
VBoxManage storagectl ${VAR_NAME}-${N} \
--name "SATA Controller" \