Browse Source

ifup: don't ifup team master indefinitely

https://bugzilla.redhat.com/show_bug.cgi?id=1416958
Thanks to martin.moore@hpe.com for the patch
master
Lukas Nykryn 8 years ago
parent
commit
6ed73e37f2
  1. 2
      modules.d/40network/ifup.sh

2
modules.d/40network/ifup.sh

@ -282,7 +282,7 @@ if [ -z "$NO_TEAM_MASTER" ]; then
# wait for all slaves to show up # wait for all slaves to show up
for slave in $teamslaves ; do for slave in $teamslaves ; do
# try to create the slave (maybe vlan or bridge) # try to create the slave (maybe vlan or bridge)
NO_BOND_MASTER=yes NO_AUTO_DHCP=yes ifup $slave NO_TEAM_MASTER=yes NO_AUTO_DHCP=yes ifup $slave


if ! ip link show dev $slave >/dev/null 2>&1; then if ! ip link show dev $slave >/dev/null 2>&1; then
# wait for the last slave to show up # wait for the last slave to show up

Loading…
Cancel
Save