-
Notifications
You must be signed in to change notification settings - Fork 156
There is no correct network setup for CentOS Stream 10 #124
Description
Current code relies on old network-scripts, which were already deprecated in CentOS/RHEL 9 but still available via NetworkManager ifcfg-rh plugin. As this is not available in CentOS/RHEL 10, the code simply does nothing in what regards network configuration.
This is working so far because the default DHCP configuration generated by CentOS Stream 10 just works. However, should DHCP be removed from Hetzner datacenters, installimage then has to be modified to generate correct static IP network configurations for CentOS Stream 10.
The correct way to do so would be to create a NetworkManager keyfile connection format in /etc/NetworkManager/system-connections folder. This Hetzner documentation shows an example of a DHCP NetworkManager keyfile connection file plus the right nmcli commands to configure the static IP, but it would be clearly more convenient to have the installer just generate the right connection file with the static IPs.
Last but not least: It would be advisable to have this NetworkManager keyfile connection profile generation also working for CentOS Stream 9, as it is also the recommended way for network configuration in that version. If no other supported installimage default image uses this method, it might even be removed.