Files
build/extensions/network/config-networkd/netplan/10-dhcp-all-interfaces.yaml
Igor Pecovnik a57f4e2cf0 Fix for no network inside Docker container
Force netplan to use DHCP only on interface e* and not also on the docker interface
2024-07-25 16:41:40 +02:00

17 lines
520 B
YAML

# Added by Armbian
#
# Reference: https://netplan.readthedocs.io/en/stable/netplan-yaml/
#
# Let systemd-networkd manage all Ethernet devices on this system, but be configured by Netplan.
network:
version: 2
renderer: networkd
ethernets:
all-eth-interfaces:
match:
name: "e*"
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