Skip to content

Commit

Permalink
[swss]: Fix the command to get HWSKU with sonic-cfggen (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuotian Cheng authored and taoyl-ms committed Sep 20, 2017
1 parent 9319019 commit 50cb8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-orchagent/swssconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function fast_reboot {
# Restore FDB and ARP table ASAP
fast_reboot

HWSKU=`sonic-cfggen -m /etc/sonic/minigraph.xml -d -v DEVICE_METADATA["localhost"]["hwsku"]`
HWSKU=`sonic-cfggen -m /etc/sonic/minigraph.xml -d -v "DEVICE_METADATA['localhost']['hwsku']"`

SWSSCONFIG_ARGS="00-copp.config.json ipinip.json mirror.json ports.json "

Expand Down

0 comments on commit 50cb8b2

Please sign in to comment.