From 3b2618ff842f62cb3389ecd9d0e107ba2ad07af3 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Mon, 17 May 2021 15:19:28 +0300 Subject: configs/releng/airootfs/etc/systemd/network/: match by globbing the interface name instead of matching the type Type=ether matches virtual Ethernet interfaces (veth*) which may break networking inside containers. Fixes https://bugs.archlinux.org/task/70892 . Partially reverts 8a521d0bfaedf16b95c09b4837981c4b567b5118 . --- configs/releng/airootfs/etc/systemd/network/20-ethernet.network | 3 ++- configs/releng/airootfs/etc/systemd/network/20-wlan.network | 2 +- configs/releng/airootfs/etc/systemd/network/20-wwan.network | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'configs') diff --git a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network index 4fce10c..142c591 100644 --- a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network +++ b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network @@ -2,7 +2,8 @@ # SPDX-License-Identifier: GPL-3.0-or-later [Match] -Type=ether +Name=en* +Name=eth* [Network] DHCP=yes diff --git a/configs/releng/airootfs/etc/systemd/network/20-wlan.network b/configs/releng/airootfs/etc/systemd/network/20-wlan.network index 73a6bbd..c164666 100644 --- a/configs/releng/airootfs/etc/systemd/network/20-wlan.network +++ b/configs/releng/airootfs/etc/systemd/network/20-wlan.network @@ -2,7 +2,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later [Match] -Type=wlan +Name=wl* [Network] DHCP=yes diff --git a/configs/releng/airootfs/etc/systemd/network/20-wwan.network b/configs/releng/airootfs/etc/systemd/network/20-wwan.network index cc946fe..7fba35b 100644 --- a/configs/releng/airootfs/etc/systemd/network/20-wwan.network +++ b/configs/releng/airootfs/etc/systemd/network/20-wwan.network @@ -2,7 +2,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later [Match] -Type=wwan +Name=ww* [Network] DHCP=yes -- cgit v1.2.3-70-g09d2