Blame SOURCES/0354-ifcfg-write-ifcfg.sh-unset-vlan.patch

18971c
From 7de064b57cda7ca3d117c5faebc7636858dfc2f2 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Tue, 21 Apr 2015 10:34:31 +0200
18971c
Subject: [PATCH] ifcfg/write-ifcfg.sh: unset vlan
18971c
18971c
clear the vlan flag, if a previous interface in the loop
18971c
was a vlan interface
18971c
18971c
(cherry picked from commit 23446ef1e0a6eda79049a655cb1645691b129645)
18971c
---
18971c
 modules.d/45ifcfg/write-ifcfg.sh | 2 ++
18971c
 1 file changed, 2 insertions(+)
18971c
18971c
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
18971c
index b2462dae..ed66370f 100755
18971c
--- a/modules.d/45ifcfg/write-ifcfg.sh
18971c
+++ b/modules.d/45ifcfg/write-ifcfg.sh
18971c
@@ -140,6 +140,8 @@ for netup in /tmp/net.*.did-setup ; do
18971c
     unset macaddr
18971c
     unset slave
18971c
     unset ethname
18971c
+    unset vlan
18971c
+
18971c
     [ -e /tmp/bond.${netif}.info ] && . /tmp/bond.${netif}.info
18971c
     [ -e /tmp/team.${netif}.info ] && . /tmp/team.${netif}.info
18971c