Update esphome-v3.sh

This commit is contained in:
tteckster 2022-04-17 22:23:33 -04:00 committed by GitHub
parent 671eedb5c1
commit 2605172b88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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