Skip to content

Commit

Permalink
[docker-teamd] fix a config bug introduced in sonic-net#345
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyl-ms committed Mar 1, 2017
1 parent 38b9eb1 commit 2abc1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-teamd/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mkdir -p /etc/teamd

for pc in `sonic-cfggen -m /etc/sonic/minigraph.xml -v "minigraph_portchannel_interfaces.keys()"`; do
for pc in `sonic-cfggen -m /etc/sonic/minigraph.xml -v "' '.join(minigraph_portchannel_interfaces.keys())"`; do
sonic-cfggen -m /etc/sonic/minigraph.xml -a '{"pc":"'$pc'"}' -t /usr/share/sonic/templates/teamd.j2 >/etc/teamd/$pc.conf
done

Expand Down

0 comments on commit 2abc1af

Please sign in to comment.