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

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