fix teamd exec in case config does not include devname
PATCH v2 1/1 fix teamd exec in case config does not include devname
In case that configuration file did not include name of team device, teamd would not start. Fix this by adding "-t" parameter.
---
v2->v1:
-fixed bad order of args
modules.d/40network/ifup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/40network/ifup.sh +1 -1
@@ -187,7 +187,7 @@ if [ -e /tmp/team.info ]; then fi done # Do not add slaves now - teamd -d -U -n -f /etc/teamd/$teammaster.conf + teamd -d -U -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
Signature · 1 line
1.8.1
A message that is not in the archive (sent off-list or not yet received): 1357826571-1877-1-git-send-email-jiri-rHqAuBHg3fBzbRFIqnYvSA@public.gmane.org
Cong Wang
Acked-byQuoted 8 lines · Jiri Pirko
In case that configuration file did not include name of team device, teamd would not start. Fix this by adding "-t" parameter.
Signed-off-by Jiri Pirko <[email protected]>---
v2->v1:
-fixed bad order of args
Looks good! I didn't test the ifcfg case.
Thanks!
Am 10.01.2013 15:02, schrieb Jiri Pirko:
Quoted 18 lines
In case that configuration file did not include name of team device, teamd would not start. Fix this by adding "-t" parameter.
Signed-off-by Jiri Pirko <[email protected]>---
v2->v1:
-fixed bad order of args
modules.d/40network/ifup.sh| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)modules.d/40network/ifup.sh +0
-0
modules.d/40network/ifup.sh if [ -e /tmp/team.info ]; then · line 193
Quoted 8 lines
modules.d/40network/ifup.sh +1
-1@@ -187,7 +187,7 @@ if [ -e /tmp/team.info ]; then fi done # Do not add slaves now - teamd -d -U -n -f /etc/teamd/$teammaster.conf + teamd -d -U -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
merged