Update grafana-v3.sh

This commit is contained in:
tteckster 2022-04-28 07:54:23 -04:00 committed by GitHub
parent ff3a1372ff
commit 27fa3065f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ header_info
echo -e "${DGN}Using ${BGN}${CORE_COUNT}${CL}${DGN}vCPU${CL}" echo -e "${DGN}Using ${BGN}${CORE_COUNT}${CL}${DGN}vCPU${CL}"
echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}" echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}"
echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}" echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}"
echo -e "${YW}Enter a Static IP Address, or Press [ENTER] for Default: DHCP " echo -e "${YW}Enter a Static IPv4 CIDR 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;
echo -en "${DGN}Set Static IP Address To ${BL}$NET${CL}" echo -en "${DGN}Set Static IP Address To ${BL}$NET${CL}"
@ -245,7 +245,7 @@ header_info
echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}" echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}"
echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}" echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}"
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}" echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE " echo -e "${YW}Enter a Gateway IP (mandatory if static IP is used), or Press [ENTER] for Default: NONE "
read GATE1 read GATE1
if [ -z $GATE1 ]; then GATE1="NONE" GATE=""; if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}" echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"