From 05b910a5596714d16ae4ccf12d2b9c1099eaeccd Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Wed, 21 Feb 2018 00:47:14 -0800 Subject: [PATCH] [reboot] update reboot script to retrieve platform with new format (#206) --- scripts/reboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/reboot b/scripts/reboot index b02d5fd42520..d349664fb6b3 100755 --- a/scripts/reboot +++ b/scripts/reboot @@ -11,7 +11,7 @@ function stop_sonic_services() } # Obtain our platform as we will mount directories with these names in each docker -PLATFORM=`sonic-cfggen -H -v DEVICE_METADATA.hwsku.platform` +PLATFORM=`sonic-cfggen -H -v DEVICE_METADATA.localhost.platform` DEVPATH="/usr/share/sonic/device" REBOOT="platform_reboot"