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

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