Blame SOURCES/0217-bridging-update-the-ifcfg-files-generated-for-bridge.patch

712866
From 4fa660ba8f768861f8f8d5b3b8c82837ffcc6bb3 Mon Sep 17 00:00:00 2001
712866
From: Alex Harpin <development@landsofshadow.co.uk>
712866
Date: Sat, 2 Aug 2014 20:08:25 +0100
712866
Subject: [PATCH] bridging: update the ifcfg files generated for bridge slaves
712866
712866
Update the ifcfg files generated for bridge slaves so they reference
712866
the bridge they are part of.  Related to early patch submitted as a
712866
fix for Bug #1123552.
712866
712866
Bug #1123552 https://bugzilla.redhat.com/show_bug.cgi?id=1123552
712866
712866
(cherry picked from commit 32125a976bb6ff67768ca813446743b781ba012f)
712866
---
712866
 modules.d/45ifcfg/write-ifcfg.sh | 3 +--
712866
 1 file changed, 1 insertion(+), 2 deletions(-)
712866
712866
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
5c6c2a
index c1cd23c3..48e75a63 100755
712866
--- a/modules.d/45ifcfg/write-ifcfg.sh
712866
+++ b/modules.d/45ifcfg/write-ifcfg.sh
712866
@@ -234,8 +234,7 @@ for netup in /tmp/net.*.did-setup ; do
712866
                 echo "ONBOOT=yes"
712866
                 echo "NETBOOT=yes"
712866
                 echo "HWADDR=\"$(cat /sys/class/net/$slave/address)\""
712866
-                echo "SLAVE=yes"
712866
-                echo "MASTER=\"$bridgename\""
712866
+                echo "BRIDGE=\"$bridgename\""
712866
                 echo "NAME=\"$slave\""
712866
                 echo "UUID=\"$(cat /proc/sys/kernel/random/uuid)\""
712866
             } >> /tmp/ifcfg/ifcfg-$slave