[swss]: Fix the command to get HWSKU with sonic-cfggen (#964)
This commit is contained in:
parent
aa549f208c
commit
a376c86b5c
@ -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 "
|
||||
|
||||
|
Reference in New Issue
Block a user