arch-image-builder/configs/packages/systemd-networkd.yaml
BigfootACA 067ee2d341 add more comments
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
2024-05-20 09:56:42 +08:00

42 lines
923 B
YAML

filesystem:
files:
# Network configs from archiso
- path: /etc/systemd/network/20-ethernet.network
content: |
[Match]
Name=en*
Name=eth*
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
[DHCPv4]
RouteMetric=100
[IPv6AcceptRA]
RouteMetric=100
- path: /etc/systemd/network/20-wlan.network
content: |
[Match]
Name=wl*
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
[DHCPv4]
RouteMetric=600
[IPv6AcceptRA]
RouteMetric=600
- path: /etc/systemd/network/20-wwan.network
content: |
[Match]
Name=ww*
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
[DHCPv4]
RouteMetric=700
[IPv6AcceptRA]
RouteMetric=700
systemd:
enable:
- systemd-networkd.service
- systemd-resolved.service