From 2605172b88068b17c14ab2452f50cdecd1b0e265 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 17 Apr 2022 22:23:33 -0400 Subject: [PATCH] Update esphome-v3.sh --- ct/esphome-v3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/esphome-v3.sh b/ct/esphome-v3.sh index 2d6fa4c3..67eada7f 100644 --- a/ct/esphome-v3.sh +++ b/ct/esphome-v3.sh @@ -217,7 +217,7 @@ header_info if [ -z $GATE1 ]; then GATE1="NONE" GATE=" "; echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}" else - GATE="gw=$GATE1" + GATE=",gw=$GATE1" echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}" fi; echo -e " ${CM}${CL} \n" @@ -293,7 +293,7 @@ export PCT_DISK_SIZE=$DISK_SIZE export PCT_OPTIONS=" -features $FEATURES -hostname $HN - -net0 name=eth0,bridge=vmbr0,ip=$NET + -net0 name=eth0,bridge=vmbr0,ip=$NET$GATE $VLAN -onboot 1 -cores $CORE_COUNT