Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-03-20 13:04:10 +0200
committernl6720 <nl6720@gmail.com>2021-03-26 11:35:20 +0200
commit8a521d0bfaedf16b95c09b4837981c4b567b5118 (patch)
tree8083a04e3b7b62471ce0405ecb24a15985d4bda2 /configs/releng/airootfs/etc/systemd/network/20-ethernet.network
parent8cbc5483591a74fee2b566eff92e1423cbe9c0ad (diff)
Update configs/releng/airootfs/etc/systemd/network/20-{ethernet,wireless}.network
* Match the device type instead of the interface name. * Replace DHCP section with DHCPv4/DHCPv6. systemd split the sections.
Diffstat (limited to 'configs/releng/airootfs/etc/systemd/network/20-ethernet.network')
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-ethernet.network8
1 files changed, 5 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 efa309c..4fce10c 100644
--- a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
+++ b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
@@ -2,12 +2,14 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
-Name=en*
-Name=eth*
+Type=ether
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
-[DHCP]
+[DHCPv4]
+RouteMetric=512
+
+[DHCPv6]
RouteMetric=512