Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions rootconf/default/etc/init.d/networking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ if [ "$1" = "start" ] ; then

# Set MAC addr for all interfaces, but leave the interfaces down.
base_mac=$(onie-sysinfo -e)
if [ "$base_mac" = "ERROR:" ] ; then
log_warning_msg "Unable to retrieve management Ethernet MAC address"
onie_skip_ethmgmt_macs=yes
fi
for intf in $intf_list ; do
if [ "$onie_skip_ethmgmt_macs" = "no" ] ; then
mac="$(mac_add $base_mac $intf_counter)"
Expand Down