]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
ifcfg/write-ifcfg.sh: unset vlan
authorHarald Hoyer <harald@redhat.com>
Tue, 21 Apr 2015 08:34:31 +0000 (10:34 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 9 Oct 2015 09:10:07 +0000 (11:10 +0200)
clear the vlan flag, if a previous interface in the loop
was a vlan interface

(cherry picked from commit 23446ef1e0a6eda79049a655cb1645691b129645)

modules.d/45ifcfg/write-ifcfg.sh

index b2462dae0afe060b3bac9d3edafefd375779828d..ed66370fcab865b4b7a1228a931a8d658c34181d 100755 (executable)
@@ -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