Update vaultwarden-v3.sh

pull/355/head
tteckster 2 years ago committed by GitHub
parent f397682828
commit a5e7557870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,9 +88,9 @@ function default_settings() {
echo -e "${DGN}Using Disk Size ${BGN}6${CL}${DGN}GB${CL}" echo -e "${DGN}Using Disk Size ${BGN}6${CL}${DGN}GB${CL}"
DISK_SIZE="6" DISK_SIZE="6"
echo -e "${DGN}Using ${BGN}4${CL}${DGN}vCPU${CL}" echo -e "${DGN}Using ${BGN}4${CL}${DGN}vCPU${CL}"
CORE_COUNT="4" CORE_COUNT="2"
echo -e "${DGN}Using ${BGN}4096${CL}${DGN}MiB RAM${CL}" echo -e "${DGN}Using ${BGN}4096${CL}${DGN}MiB RAM${CL}"
RAM_SIZE="4096" RAM_SIZE="2048"
echo -e "${DGN}Using Bridge ${BGN}vmbr0${CL}" echo -e "${DGN}Using Bridge ${BGN}vmbr0${CL}"
BRG="vmbr0" BRG="vmbr0"
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}" echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
@ -179,9 +179,9 @@ header_info
echo -e "${DGN}Using CT ID ${BGN}$CT_ID${CL}" echo -e "${DGN}Using CT ID ${BGN}$CT_ID${CL}"
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}${DGN}GB${CL}" echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}${DGN}GB${CL}"
echo -e "${YW}Allocate CPU cores, or Press [ENTER] for Default: 4 " echo -e "${YW}Allocate CPU cores, or Press [ENTER] for Default: 2 "
read CORE_COUNT read CORE_COUNT
if [ -z $CORE_COUNT ]; then CORE_COUNT="4"; fi; if [ -z $CORE_COUNT ]; then CORE_COUNT="2"; fi;
echo -en "${DGN}Set Cores To ${BL}$CORE_COUNT${CL}${DGN}vCPU${CL}" echo -en "${DGN}Set Cores To ${BL}$CORE_COUNT${CL}${DGN}vCPU${CL}"
echo -e " ${CM}${CL} \r" echo -e " ${CM}${CL} \r"
sleep 1 sleep 1
@ -194,9 +194,9 @@ 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}${DGN}GB${CL}" echo -e "${DGN}Using Disk Size ${BGN}$DISK_SIZE${CL}${DGN}GB${CL}"
echo -e "${DGN}Using ${BGN}${CORE_COUNT}${CL}${DGN}vCPU${CL}" echo -e "${DGN}Using ${BGN}${CORE_COUNT}${CL}${DGN}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 read RAM_SIZE
if [ -z $RAM_SIZE ]; then RAM_SIZE="4096"; fi; if [ -z $RAM_SIZE ]; then RAM_SIZE="2048"; fi;
echo -en "${DGN}Set RAM To ${BL}$RAM_SIZE${CL}${DGN}MiB RAM${CL}" echo -en "${DGN}Set RAM To ${BL}$RAM_SIZE${CL}${DGN}MiB RAM${CL}"
echo -e " ${CM}${CL} \n" echo -e " ${CM}${CL} \n"
sleep 1 sleep 1

Loading…
Cancel
Save

Powered by BW's shoe-string budget.