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 8a521d0bfa .
This commit is contained in:
nl6720 2021-05-17 15:19:28 +03:00
parent 254194ad6f
commit 3b2618ff84
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
Type=ether
Name=en*
Name=eth*
[Network]
DHCP=yes

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
Type=wlan
Name=wl*
[Network]
DHCP=yes

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
Type=wwan
Name=ww*
[Network]
DHCP=yes