From d5891a8e0f5d75e0d329d6394716d7cc77f37e7f Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 16 Apr 2022 17:21:33 -0400 Subject: [PATCH] Update haos-vm.sh --- vm/haos-vm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index 0f2c9022..d0d02428 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -51,7 +51,7 @@ function default_settings() { echo -e "${DGN}Using ID ${BGN}$NEXTID${CL}" VM_ID=$NEXTID echo -e "${DGN}Using Disk Size ${BGN}32GB${CL}" - DISK_SIZE="32" + DISK_SIZE=16 echo -e "${DGN}Using ${BGN}2vCPU${CL}" CORE_COUNT="2" echo -e "${DGN}Using ${BGN}4096MiB${CL}${GN} RAM${CL}" @@ -73,7 +73,7 @@ header_info echo -e "${DGN}Using ID ${BGN}$VM_ID${CL}" echo -e "${YW}Enter a Disk Size, or Press [ENTER] for Default: 32Gb " read DISK_SIZE - if [ -z $DISK_SIZE ]; then DISK_SIZE="32"; fi; + if [ -z $DISK_SIZE ]; then DISK_SIZE=32; fi; if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo "ERROR! DISK SIZE MUST HAVE INTEGER NUMBER!"; exit; fi; echo -en "${DGN}Set Disk Size To ${BL}$DISK_SIZE${CL}" echo -e " ${CM}${CL} \r" @@ -107,7 +107,7 @@ header_info echo -e "${DGN}Using ID ${BGN}$VM_ID${CL}" echo -e "${DGN}Using Disk Size ${BGN}${DISK_SIZE}GB${CL}" echo -e "${DGN}Using ${BGN}${CORE_COUNT}vCPU${CL}" - echo -e "${DGN}Using ${BGN}${RAM_SIZE}MiB${CL}${GN} RAM${CL}" + echo -e "${DGN}Using ${BGN}${RAM_SIZE}MiB${CL}${DGN} RAM${CL}" read -p "Are these settings correct(y/n)? " -n 1 -r echo