From 1ae7504363aa5a13d328e0cc42429d68b62a8b2e Mon Sep 17 00:00:00 2001 From: H4L0 Date: Thu, 7 May 2026 15:39:24 +0200 Subject: [PATCH] exclude virtual devices, dont harcode iface name instead match 'ether' similar pattern to .network files shipped in /etc/systemd/network --- archinstall/lib/network/network_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/network/network_handler.py b/archinstall/lib/network/network_handler.py index 8f8c26e6..45de8303 100644 --- a/archinstall/lib/network/network_handler.py +++ b/archinstall/lib/network/network_handler.py @@ -65,7 +65,7 @@ def _configure_iwd_standalone(installation: Installer) -> None: networkd_dir = installation.target / 'etc/systemd/network' networkd_dir.mkdir(parents=True, exist_ok=True) wired_conf = networkd_dir / '20-wired.network' - _ = wired_conf.write_text('[Match]\nName=en*\nName=eth*\n\n[Network]\nDHCP=yes\n') + _ = wired_conf.write_text('[Match]\nType=ether\nKind=!*\n\n[Network]\nDHCP=yes\n') resolv = installation.target / 'etc/resolv.conf' resolv.unlink(missing_ok=True)