Skip to content

Commit

Permalink
[vs]: Add option to specify platform name for DVS orchagent (#2571)
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Samotiy <[email protected]>
  • Loading branch information
Volodymyr Samotiy authored and lguohan committed Mar 7, 2019
1 parent cdabbb4 commit 419c69b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion platform/vs/docker-sonic-vs/orchagent.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash

export platform=vs
if [[ -z "$fake_platform" ]]; then
export platform=vs
else
export platform=$fake_platform
fi

MAC_ADDRESS=`ip link show eth0 | grep ether | awk '{print $2}'`

Expand Down

0 comments on commit 419c69b

Please sign in to comment.