From b042eaf006873a2b11f2ecefb8ed7c2d8189ac12 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Tue, 2 Nov 2021 22:24:25 -0600 Subject: [PATCH] try all possible vLANs in setup-netdev --- scripts/setup-netdev | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/setup-netdev b/scripts/setup-netdev index 79c01b8..2619ca9 100755 --- a/scripts/setup-netdev +++ b/scripts/setup-netdev @@ -4,13 +4,13 @@ source scan-netdev modprobe bonding # All vlans are using netmask /22 -MASK=22 -CTLPLANE=110 # ctlplane vlan -VLANS='110 218 222 226 306 321 480 1000' +MASK=22 +CTLPLANE=110 # ctlplane vlan #Fixme: hardcoded +#VLANS='110 218 222 226 306 321 480 1000' SPEED=25000 MTU=9000 -for VLAN in $VLANS ; do +for VLAN in {10..4000} ; do # Most vLANs if [[ -f /etc/netdev/vlan.$VLAN.csv ]] ; then VLAN_CONF=`grep $SERVER_SERIAL \ /etc/netdev/vlan.$VLAN.csv`