From 82552e7b3f1f22c1d4cc21a16df1b7d7920d6d85 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Mon, 12 Jul 2021 21:13:25 +0200 Subject: [PATCH] changed vlan tag config to one line --- install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install.sh b/install.sh index acb71ba..a903d14 100644 --- a/install.sh +++ b/install.sh @@ -124,11 +124,7 @@ pct create $LXC_NBR -unprivileged $LXC_UNPRIVILEGED $LXC_TEMPLATE_STORAGE:vztmpl sleep 2; # Check vlan configuration -if [[ $LXC_VLAN != "" ]];then - VLAN=",tag=$LXC_VLAN" -else - VLAN="" -fi +if [[ $LXC_VLAN != "" ]];then VLAN=",tag=$LXC_VLAN"; else VLAN=""; fi # Reconfigure conatiner pct set $LXC_NBR -memory $LXC_MEM -swap $LXC_SWAP -hostname $LXC_HOSTNAME -onboot 1 -timezone $LXC_TIMEZONE -features nesting=$LXC_NESTING; if [ $LXC_DHCP == true ]; then