[vs]: Add option to specify platform name for DVS orchagent (#2571)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
This commit is contained in:
parent
cdabbb4b52
commit
419c69b289
@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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}'`
|
MAC_ADDRESS=`ip link show eth0 | grep ether | awk '{print $2}'`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user