ifcfg/write-ifcfg.sh: unset vlan

clear the vlan flag, if a previous interface in the loop
was a vlan interface
master
Harald Hoyer 2015-04-21 10:34:31 +02:00
parent ec06c5d3b5
commit 23446ef1e0
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ for netup in /tmp/net.*.did-setup ; do
unset macaddr
unset slave
unset ethname
unset vlan

[ -e /tmp/bond.${netif}.info ] && . /tmp/bond.${netif}.info

uuid=$(cat /proc/sys/kernel/random/uuid)