From: Harald Hoyer Date: Tue, 21 Apr 2015 08:34:31 +0000 (+0200) Subject: ifcfg/write-ifcfg.sh: unset vlan X-Git-Tag: RHEL-7.2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7de064b57cda7ca3d117c5faebc7636858dfc2f2;p=thirdparty%2Fdracut.git ifcfg/write-ifcfg.sh: unset vlan clear the vlan flag, if a previous interface in the loop was a vlan interface (cherry picked from commit 23446ef1e0a6eda79049a655cb1645691b129645) --- diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index b2462dae0..ed66370fc 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -140,6 +140,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 [ -e /tmp/team.${netif}.info ] && . /tmp/team.${netif}.info