Closed funk-on-code closed 22 hours ago
Additionally, copying the files from the ISO to the chroot and rebooting, actually configures the interface.
added:
cp /etc/systemd/network/*.network /mnt/etc/systemd/network/
to the bottom of the script, works on first boot.
Using a server install, systemd-networkd initially puts interfaces into degraded mode on first boot, rather than routing them accordingly.
From the ISO:
# networkctl
2 ens33 ether routable configured
# networkctl status
Interfaces: 1, 2
State: routable
Online state: online
Address: 10.0.0.50 on ens33
Address: fe80::20c:29ff:fe61:1e1c on ens33
Gateway: 10.0.0.250 on ens33
DNS: 10.0.0.245
status also says:
ens33: Configuring with /etc/systemd/network/20-ethernet.network.
On first boot (after creating /etc/systemd/network/20-ethernet.network with the same content that boots correctly from the ISO):
# networkctl up ens33
# networkctl
2 ens33 ether degraded unmanaged
# networkctl status
Interfaces: 2, 1
State: degraded
Online state: unknown
Address: fe80::20c:29ff:fe61:1e1c on ens33
Investigation is ongoing :)