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.
This commit is contained in:
parent
8cbc548359
commit
8a521d0bfa
@ -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
|
||||
|
@ -2,12 +2,14 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
[Match]
|
||||
Name=wlp*
|
||||
Name=wlan*
|
||||
Type=wlan
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
IPv6PrivacyExtensions=yes
|
||||
|
||||
[DHCP]
|
||||
[DHCPv4]
|
||||
RouteMetric=1024
|
||||
|
||||
[DHCPv6]
|
||||
RouteMetric=1024
|
||||
|
Loading…
Reference in New Issue
Block a user