]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network: do not destroy the team interface on teamd shutdown
authorHarald Hoyer <harald@redhat.com>
Mon, 26 Jan 2015 15:12:08 +0000 (15:12 +0000)
committerHarald Hoyer <harald@redhat.com>
Mon, 26 Jan 2015 15:12:08 +0000 (15:12 +0000)
when doing switch-root teamd gets killed, which tears down the team
interface, if teamd is not started with "-N".

modules.d/40network/ifup.sh

index cfd7df7ea0494cedfc9b3e57330c2b4db105d632..de518b6a48bbe7cf7db17fa8112977b0dfddabb6 100755 (executable)
@@ -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