Page MenuHomeVyOS Platform

Tunnel Commit Failed if system does not have `eth0`
Closed, ResolvedPublicBUG

Description

vyos.ifconfig: T3860: bugfix in get_mac_synthetic()

Bring bug, when the system does not have eth0 available, commit will crash.

The source code

# Get system eth0 base MAC address - every system has eth0
eth0_mac = Interface('eth0').get_mac()

Possible fix plan:
Get the mac address base on the system exist interface, not the eth0.

Details

Version
1.3- epa1
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)