mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-11-14 14:23:26 +08:00
42 lines
923 B
YAML
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
|