From ef80dcb07d4742ab8736328bf8261993c76505d0 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Wed, 21 Feb 2018 08:39:37 +0000 Subject: [PATCH] [reboot] update reboot script to retrieve platform with new format --- scripts/reboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/reboot b/scripts/reboot index b02d5fd425..d349664fb6 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"