aboutsummaryrefslogtreecommitdiff
path: root/archiso_config/airootfs/etc/systemd/network
diff options
context:
space:
mode:
Diffstat (limited to 'archiso_config/airootfs/etc/systemd/network')
-rw-r--r--archiso_config/airootfs/etc/systemd/network/20-ethernet.network13
1 files changed, 13 insertions, 0 deletions
diff --git a/archiso_config/airootfs/etc/systemd/network/20-ethernet.network b/archiso_config/airootfs/etc/systemd/network/20-ethernet.network
new file mode 100644
index 0000000..0e4287b
--- /dev/null
+++ b/archiso_config/airootfs/etc/systemd/network/20-ethernet.network
@@ -0,0 +1,13 @@
+[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*
+
+[Link]
+RequiredForOnline=routable
+
+[Network]
+DHCP=yes
+MulticastDNS=yes