summaryrefslogtreecommitdiff
path: root/airootfs/etc/systemd/network/20-ethernet.network
diff options
context:
space:
mode:
Diffstat (limited to 'airootfs/etc/systemd/network/20-ethernet.network')
-rw-r--r--airootfs/etc/systemd/network/20-ethernet.network9
1 files changed, 3 insertions, 6 deletions
diff --git a/airootfs/etc/systemd/network/20-ethernet.network b/airootfs/etc/systemd/network/20-ethernet.network
index efa309c..4b6a2ab 100644
--- a/airootfs/etc/systemd/network/20-ethernet.network
+++ b/airootfs/etc/systemd/network/20-ethernet.network
@@ -1,13 +1,10 @@
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
[Match]
+# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*).
+# See https://bugs.archlinux.org/task/70892
+# Instead match by globbing the network interface name.
Name=en*
Name=eth*
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
-
-[DHCP]
-RouteMetric=512