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 Sep 19, 2017
1 parent aa549f2 commit a376c86
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 @@ -35,7 +35,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 a376c86

Please sign in to comment.