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

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