From 58c5e3a76fc678c1857a0b9ebaabee8e92fdf8a4 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 18 Apr 2022 01:31:58 -0400 Subject: [PATCH] Update photoprism-v3.sh --- ct/photoprism-v3.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ct/photoprism-v3.sh b/ct/photoprism-v3.sh index 38e63f5c..b6c970e8 100644 --- a/ct/photoprism-v3.sh +++ b/ct/photoprism-v3.sh @@ -239,7 +239,7 @@ header_info if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" "; echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}" else - VLAN="-tag $VLAN1" + VLAN=",tag=$VLAN1" echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}" fi; echo -e " ${CM}${CL} \n" @@ -293,8 +293,7 @@ export PCT_DISK_SIZE=$DISK_SIZE export PCT_OPTIONS=" -features $FEATURES -hostname $HN - -net0 name=eth0,bridge=vmbr0,ip=$NET$GATE - $VLAN + -net0 name=eth0,bridge=vmbr0,ip=$NET$GATE$VLAN -onboot 1 -cores $CORE_COUNT -memory $RAM_SIZE