[mellanox]: fix orchagent start args for mellanox (#3268)
Bug is introduced in #2980. Mellanox does not support setting MAC on switch create.
This commit is contained in:
parent
c6e442b946
commit
11ea368fef
@ -29,6 +29,8 @@ elif [ "$platform" == "barefoot" ]; then
|
||||
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
|
||||
elif [ "$platform" == "vs" ]; then
|
||||
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
|
||||
elif [ "$platform" == "mellanox" ]; then
|
||||
ORCHAGENT_ARGS+=""
|
||||
else
|
||||
MAC_ADDRESS=`sonic-cfggen -d -v 'DEVICE_METADATA.localhost.mac'`
|
||||
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
|
||||
|
Loading…
Reference in New Issue
Block a user