try all possible vLANs in setup-netdev
This commit is contained in:
parent
6378a63a8a
commit
b042eaf006
1 changed files with 4 additions and 4 deletions
|
@ -4,13 +4,13 @@ source scan-netdev
|
||||||
modprobe bonding
|
modprobe bonding
|
||||||
|
|
||||||
# All vlans are using netmask /22
|
# All vlans are using netmask /22
|
||||||
MASK=22
|
MASK=22
|
||||||
CTLPLANE=110 # ctlplane vlan
|
CTLPLANE=110 # ctlplane vlan #Fixme: hardcoded
|
||||||
VLANS='110 218 222 226 306 321 480 1000'
|
#VLANS='110 218 222 226 306 321 480 1000'
|
||||||
SPEED=25000
|
SPEED=25000
|
||||||
MTU=9000
|
MTU=9000
|
||||||
|
|
||||||
for VLAN in $VLANS ; do
|
for VLAN in {10..4000} ; do # Most vLANs
|
||||||
if [[ -f /etc/netdev/vlan.$VLAN.csv ]] ; then
|
if [[ -f /etc/netdev/vlan.$VLAN.csv ]] ; then
|
||||||
VLAN_CONF=`grep $SERVER_SERIAL \
|
VLAN_CONF=`grep $SERVER_SERIAL \
|
||||||
/etc/netdev/vlan.$VLAN.csv`
|
/etc/netdev/vlan.$VLAN.csv`
|
||||||
|
|
Loading…
Reference in a new issue