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

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