network: do not destroy the team interface on teamd shutdown
when doing switch-root teamd gets killed, which tears down the team interface, if teamd is not started with "-N".master
parent
8a430ab25b
commit
2a12e97475
|
|
@ -216,7 +216,7 @@ if [ -e /tmp/team.info ]; then
|
|||
fi
|
||||
done
|
||||
# Do not add slaves now
|
||||
teamd -d -U -n -t $teammaster -f /etc/teamd/$teammaster.conf
|
||||
teamd -d -U -n -N -t $teammaster -f /etc/teamd/$teammaster.conf
|
||||
for slave in $working_slaves; do
|
||||
# team requires the slaves to be down before joining team
|
||||
ip link set $slave down
|
||||
|
|
|
|||
Loading…
Reference in New Issue