Update homeassistant-v3.sh

This commit is contained in:
tteckster 2022-04-15 07:46:20 -04:00 committed by GitHub
parent 3bc13746d9
commit 778a9a69c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -60,8 +60,8 @@ function default_settings() {
STORAGETYPE="local-lvm"
echo -e "${GN}Using ${BGN}2vCPU${CL}"
CORE_COUNT="2"
echo -e "${GN}Using ${BGN}4096MiB${CL}${GN} RAM${CL}"
RAM_SIZE="4096"
echo -e "${GN}Using ${BGN}2048MiB${CL}${GN} RAM${CL}"
RAM_SIZE="2048"
echo -e "${GN}Using IP Address ${BGN}DHCP${CL}"
NET=dhcp
echo -e "${GN}Using VLAN Tag ${BGN}NONE${CL}"
@ -185,9 +185,9 @@ header_info
echo -e "${GN}Using Disk Size ${BGN}$SIZEDISK${CL}"
echo -e "${GN}Using Storage ${BGN}$STORAGETYPE${CL}"
echo -e "${GN}Using ${BGN}${CORE_COUNT}vCPU${CL}"
echo -e "${YW}Allocate RAM in MiB, or Press [ENTER] for Default: 4096 "
echo -e "${YW}Allocate RAM in MiB, or Press [ENTER] for Default: 2048 "
read RAM_SIZE
if [ -z $RAM_SIZE ]; then RAM_SIZE="4096"; fi;
if [ -z $RAM_SIZE ]; then RAM_SIZE="2048"; fi;
echo -en "${GN}Set RAM To ${BL}$RAM_SIZE${CL}"
echo -e " ${CM}${CL} \n"
sleep 1