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

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