Update uptimekuma-v3.sh

This commit is contained in:
tteckster 2022-04-22 16:52:39 -04:00 committed by GitHub
parent 51b2d4f27a
commit 02c4f582f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,8 @@ function default_settings() {
CT_ID=$NEXTID
echo -e "${DGN}Using CT Name ${BGN}$NSAPP${CL}"
HN=$NSAPP
echo -e "${DGN}Using Disk Size ${BGN}2${CL}${DGN}GB${CL}"
DISK_SIZE="2"
echo -e "${DGN}Using Disk Size ${BGN}4${CL}${DGN}GB${CL}"
DISK_SIZE="4"
echo -e "${DGN}Using ${BGN}1${CL}${DGN}vCPU${CL}"
CORE_COUNT="1"
echo -e "${DGN}Using ${BGN}512${CL}${DGN}MiB RAM${CL}"
@ -152,9 +152,9 @@ header_info
echo -e "${DGN}Using CT Password ${BGN}$PW1${CL}"
echo -e "${DGN}Using CT ID ${BGN}$CT_ID${CL}"
echo -e "${DGN}Using CT Name ${BGN}$HN${CL}"
echo -e "${YW}Enter a Disk Size, or Press [ENTER] for Default: 2 "
echo -e "${YW}Enter a Disk Size, or Press [ENTER] for Default: 4 "
read DISK_SIZE
if [ -z $DISK_SIZE ]; then DISK_SIZE="2"; fi;
if [ -z $DISK_SIZE ]; then DISK_SIZE="4"; 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}${DGN}GB${CL}"
echo -e " ${CM}${CL} \r"