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

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