[docker-teamd] fix a config bug introduced in #345 (#353)

This commit is contained in:
Taoyu Li 2017-03-01 14:32:52 -08:00 committed by GitHub
parent 7d10892dce
commit 903499000f

View File

@ -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