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
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
[Match]
|
[Match]
|
||||||
Name=en*
|
Type=ether
|
||||||
Name=eth*
|
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
IPv6PrivacyExtensions=yes
|
IPv6PrivacyExtensions=yes
|
||||||
|
|
||||||
[DHCP]
|
[DHCPv4]
|
||||||
|
RouteMetric=512
|
||||||
|
|
||||||
|
[DHCPv6]
|
||||||
RouteMetric=512
|
RouteMetric=512
|
||||||
|
@ -2,12 +2,14 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
[Match]
|
[Match]
|
||||||
Name=wlp*
|
Type=wlan
|
||||||
Name=wlan*
|
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
IPv6PrivacyExtensions=yes
|
IPv6PrivacyExtensions=yes
|
||||||
|
|
||||||
[DHCP]
|
[DHCPv4]
|
||||||
|
RouteMetric=1024
|
||||||
|
|
||||||
|
[DHCPv6]
|
||||||
RouteMetric=1024
|
RouteMetric=1024
|
||||||
|
Loading…
Reference in New Issue
Block a user