mirror of https://github.com/tteck/Proxmox.git
Update uptimekuma-v3.sh
This commit is contained in:
parent
51b2d4f27a
commit
02c4f582f2
|
@ -73,8 +73,8 @@ function default_settings() {
|
||||||
CT_ID=$NEXTID
|
CT_ID=$NEXTID
|
||||||
echo -e "${DGN}Using CT Name ${BGN}$NSAPP${CL}"
|
echo -e "${DGN}Using CT Name ${BGN}$NSAPP${CL}"
|
||||||
HN=$NSAPP
|
HN=$NSAPP
|
||||||
echo -e "${DGN}Using Disk Size ${BGN}2${CL}${DGN}GB${CL}"
|
echo -e "${DGN}Using Disk Size ${BGN}4${CL}${DGN}GB${CL}"
|
||||||
DISK_SIZE="2"
|
DISK_SIZE="4"
|
||||||
echo -e "${DGN}Using ${BGN}1${CL}${DGN}vCPU${CL}"
|
echo -e "${DGN}Using ${BGN}1${CL}${DGN}vCPU${CL}"
|
||||||
CORE_COUNT="1"
|
CORE_COUNT="1"
|
||||||
echo -e "${DGN}Using ${BGN}512${CL}${DGN}MiB RAM${CL}"
|
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 Password ${BGN}$PW1${CL}"
|
||||||
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 "${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
|
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;
|
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 -en "${DGN}Set Disk Size To ${BL}$DISK_SIZE${CL}${DGN}GB${CL}"
|
||||||
echo -e " ${CM}${CL} \r"
|
echo -e " ${CM}${CL} \r"
|
||||||
|
|
Loading…
Reference in New Issue