Blame SOURCES/0240-network-do-not-destroy-the-team-interface-on-teamd-s.patch

712866
From 3f7d943141f543a2b9f1db612dccae502e4d556b Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Mon, 26 Jan 2015 15:12:08 +0000
712866
Subject: [PATCH] network: do not destroy the team interface on teamd shutdown
712866
712866
when doing switch-root teamd gets killed, which tears down the team
712866
interface, if teamd is not started with "-N".
712866
712866
(cherry picked from commit 2a12e9747524dc719e0da9a9d8c382f957cc13de)
712866
---
712866
 modules.d/40network/ifup.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
712866
index 524a3fb..bd7db02 100755
712866
--- a/modules.d/40network/ifup.sh
712866
+++ b/modules.d/40network/ifup.sh
712866
@@ -223,7 +223,7 @@ if [ -e /tmp/team.${netif}.info ]; then
712866
             fi
712866
         done
712866
         # Do not add slaves now
712866
-        teamd -d -U -n -t $teammaster -f /etc/teamd/${teammaster}.conf
712866
+        teamd -d -U -n -N -t $teammaster -f /etc/teamd/$teammaster.conf
712866
         for slave in $working_slaves; do
712866
             # team requires the slaves to be down before joining team
712866
             ip link set dev $slave down