To preserve backwards compatibility, we fall back to the PHYSICAL_NIC_RE ensuring that everything that got detected as physical interface before, gets detected afterwards as well.
Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com> --- src/PVE/INotify.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index d7e5add..bbcb9f8 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1145,7 +1145,8 @@ OUTER: $ifaces->{$raw_iface}->{exists} = 0; $d->{exists} = 0; } - } elsif ($ip_link && PVE::Network::ip_link_is_physical($ip_link)) { + } elsif (($ip_link && PVE::Network::ip_link_is_physical($ip_link)) + || $iface =~ m/^$PVE::Network::PHYSICAL_NIC_RE$/) { if (!$d->{ovs_type}) { $d->{type} = 'eth'; } elsif ($d->{ovs_type} eq 'OVSPort') { -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel