maas/images/maas-rack-controller/2.8_nic_filter.patch

14 lines
603 B
Diff

diff --git a/src/provisioningserver/utils/network.py b/src/provisioningserver/utils/network.py
index 55f8449f4..ebde045ee 100644
--- a/src/provisioningserver/utils/network.py
+++ b/src/provisioningserver/utils/network.py
@@ -1153,6 +1153,8 @@ def get_all_interfaces_definition(
# interfaces for guests. By themselves, they're not useful for MAAS to
# manage.
"ethernet.tunnel",
+ # Always exclude non-specific ethernet interfaces.
+ "ethernet",
]
if not running_in_container():
# When not running in a container, we should be able to identify