[swss]: Fix the command to get HWSKU with sonic-cfggen (#964)

This commit is contained in:
Shuotian Cheng 2017-09-18 17:23:19 -07:00 committed by GitHub
parent aa549f208c
commit a376c86b5c

View File

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