From 7fe359747a86c19ef4a6732c8bf9dc825972ea17 Mon Sep 17 00:00:00 2001 From: Nazarii Hnydyn Date: Sat, 18 Jul 2020 10:05:10 +0300 Subject: [PATCH] [orchagent]: Fix platform string export. (#4993) Signed-off-by: Nazarii Hnydyn --- dockers/docker-orchagent/orchagent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-orchagent/orchagent.sh b/dockers/docker-orchagent/orchagent.sh index ec181cb021..d9a490d1ac 100755 --- a/dockers/docker-orchagent/orchagent.sh +++ b/dockers/docker-orchagent/orchagent.sh @@ -10,7 +10,7 @@ fi # Retrieve SWSS vars from sonic-cfggen SWSS_VARS=$(sonic-cfggen -d -y /etc/sonic/sonic_version.yml -t $SWSS_VARS_FILE) -platform=$(echo $SWSS_VARS | jq -r '.asic_type') +export platform=$(echo $SWSS_VARS | jq -r '.asic_type') MAC_ADDRESS=$(echo $SWSS_VARS | jq -r '.mac') if [ "$MAC_ADDRESS" == "None" ] || [ -z "$MAC_ADDRESS" ]; then