Skip to content

setup-testbed: properly get the main network interface

On Ubuntu's production deployment, with bionic LXD images, an issue arose because of an extra erspan0 interface being present for some reason. It's pretty clear that IFACE should only contain one main interface, so getting it from the default route is likely to yield the best result, even if there might be cases where this still breaks.

Merge request reports

Loading