Update homeassistant-v3.sh

This commit is contained in:
tteckster 2022-04-17 15:53:26 -04:00 committed by GitHub
parent 9b06cdc9cf
commit 034b88caa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ function default_settings() {
DISK_SIZE="16" DISK_SIZE="16"
echo -e "${DGN}Using ${BGN}2vCPU${CL}" echo -e "${DGN}Using ${BGN}2vCPU${CL}"
CORE_COUNT="2" CORE_COUNT="2"
echo -e "${DGN}Using ${BGN}2048MiB${CL}${GN} RAM${CL}" echo -e "${DGN}Using ${BGN}2048MiB${CL}${DGN} RAM${CL}"
RAM_SIZE="2048" RAM_SIZE="2048"
echo -e "${DGN}Using IP Address ${BGN}DHCP${CL}" echo -e "${DGN}Using IP Address ${BGN}DHCP${CL}"
NET=dhcp NET=dhcp
@ -190,7 +190,7 @@ header_info
echo -e "${DGN}Using CT Name ${BGN}$HN${CL}" echo -e "${DGN}Using CT Name ${BGN}$HN${CL}"
echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}" echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}"
echo -e "${DGN}Using ${BGN}${CORE_COUNT}vCPU${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}"
echo -e "${YW}Enter a IP Address, or Press [ENTER] for Default: DHCP " echo -e "${YW}Enter a IP Address, or Press [ENTER] for Default: DHCP "
read NET read NET
if [ -z $NET ]; then NET="dhcp"; fi; if [ -z $NET ]; then NET="dhcp"; fi;
@ -206,7 +206,7 @@ header_info
echo -e "${DGN}Using CT Name ${BGN}$HN${CL}" echo -e "${DGN}Using CT Name ${BGN}$HN${CL}"
echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}" echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}"
echo -e "${DGN}Using ${BGN}${CORE_COUNT}vCPU${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}"
echo -e "${DGN}Using IP Address ${BGN}$NET${CL}" echo -e "${DGN}Using IP Address ${BGN}$NET${CL}"
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE " echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
read VLAN1 read VLAN1
@ -227,7 +227,7 @@ header_info
echo -e "${DGN}Using CT Name ${BGN}$HN${CL}" echo -e "${DGN}Using CT Name ${BGN}$HN${CL}"
echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}" echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}"
echo -e "${DGN}Using ${BGN}${CORE_COUNT}vCPU${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}"
echo -e "${DGN}Using IP Address ${BGN}$NET${CL}" echo -e "${DGN}Using IP Address ${BGN}$NET${CL}"
echo -e "${DGN}Using VLAN Tag ${BGN}$VLAN1${CL}" echo -e "${DGN}Using VLAN Tag ${BGN}$VLAN1${CL}"