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

(cherry picked from commit 2a12e9747524dc719e0da9a9d8c382f957cc13de)

modules.d/40network/ifup.sh

index 524a3fb5d58fd2bbef5093dd1c5125ddc5ebc5a2..bd7db02c5f39e05c97a4a91bb1a00d6cdd2e7123 100755 (executable)
@@ -223,7 +223,7 @@ if [ -e /tmp/team.${netif}.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 dev $slave down