From: Alex Harpin Date: Sat, 2 Aug 2014 19:08:25 +0000 (+0100) Subject: bridging: update the ifcfg files generated for bridge slaves X-Git-Tag: 039~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32125a976bb6ff67768ca813446743b781ba012f;p=thirdparty%2Fdracut.git bridging: update the ifcfg files generated for bridge slaves Update the ifcfg files generated for bridge slaves so they reference the bridge they are part of. Related to early patch submitted as a fix for Bug #1123552. Bug #1123552 https://bugzilla.redhat.com/show_bug.cgi?id=1123552 --- diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index d920c22fd..7f068cbe7 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -234,8 +234,7 @@ for netup in /tmp/net.*.did-setup ; do echo "ONBOOT=yes" echo "NETBOOT=yes" echo "HWADDR=\"$(cat /sys/class/net/$slave/address)\"" - echo "SLAVE=yes" - echo "MASTER=\"$bridgename\"" + echo "BRIDGE=\"$bridgename\"" echo "NAME=\"$slave\"" echo "UUID=\"$(cat /proc/sys/kernel/random/uuid)\"" } >> /tmp/ifcfg/ifcfg-$slave