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

83bbb1
From ab886c76279775f3326116a65104ff26457e0a83 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
83bbb1
index fa83a82..6fcf2c4 100755
83bbb1
--- a/modules.d/45ifcfg/write-ifcfg.sh
83bbb1
+++ b/modules.d/45ifcfg/write-ifcfg.sh
83bbb1
@@ -230,8 +230,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