mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
fix/netplan-dhcp-all-lan-wan-interfaces
- apply dhcp to all interfaces that are renamed to either 'lanX' or 'wanX' by udev. - applies to a.o. nanopi-r1, nanopi-r2s.
This commit is contained in:
@@ -14,3 +14,15 @@ network:
|
||||
dhcp4: yes
|
||||
dhcp6: yes
|
||||
ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn't enable IPv6 privacy by default, see https://man.archlinux.org/man/systemd.network.5
|
||||
all-lan-interfaces: # include interfaces that are renamed to 'lanX' by udev, e.g. nanopi-r2s
|
||||
match:
|
||||
name: "lan[0-9]*"
|
||||
dhcp4: yes
|
||||
dhcp6: yes
|
||||
ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn't enable IPv6 privacy by default, see https://man.archlinux.org/man/systemd.network.5
|
||||
all-wan-interfaces: # include interfaces that are renamed to 'wanX' by udev, e.g. nanopi-r1
|
||||
match:
|
||||
name: "wan[0-9]*"
|
||||
dhcp4: yes
|
||||
dhcp6: yes
|
||||
ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn't enable IPv6 privacy by default, see https://man.archlinux.org/man/systemd.network.5
|
||||
|
||||
Reference in New Issue
Block a user