Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-05-17 15:19:28 +0300
committernl6720 <nl6720@gmail.com>2021-05-29 15:31:02 +0300
commit3b2618ff842f62cb3389ecd9d0e107ba2ad07af3 (patch)
tree778108871addc7bf398d6fb206453013ed127559
parent254194ad6f2c4e552d9c0a34727d2c535e9cb01f (diff)
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 .
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-ethernet.network3
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-wlan.network2
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-wwan.network2
3 files changed, 4 insertions, 3 deletions
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