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=1123552master
parent
068531232b
commit
32125a976b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue