Symptoms
CONFIG_TEXT: *** Elevation Blocker detected: ***
Network configuration for unsupported device types detected
RHEL 9 does not support the legacy network-scripts package that was deprecated in RHEL 8 in favor of NetworkManager. Files for device types that are not supported by NetworkManager are present in the system. Files with the problematic configuration:
- /etc/sysconfig/network-scripts/ifcfg-eth0
Possible resolution: Consult the nm-settings-ifcfg-rh(5) manual for valid types of ifcfg files. Remove configuration files that can not be supported.
CONFIG_TEXT: The following network-scripts files are missing the TYPE key:
/etc/sysconfig/network-scripts/ifcfg-eth0
Since we will be converting from using network-scripts to using NetworkManager as part of the OS distro upgrade, the TYPE key needs to be explicitly defined within each ifcfg-* file.
Cause
RHEL 9 changed how the network configuration files are structured and where they are loaded from due to the change to NetworkManager. NetworkManager, as well as the Type option, needs to be configured on AlmaLinux 8 or CloudLinux 8 before upgrading to AlmaLinux 9 or CloudLinux 9.
Resolution
- Access your server via SSH as the root user.
Open each of the files at the following path in your preferred text editor:
CONFIG_TEXT: /etc/sysconfig/network-scripts/ifcfg-*
Change the "NM_CONTROLLED" value to "no".
CONFIG_TEXT: NM_CONTROLLED=no
Note: if the NM_CONTROLLED entry doesn't exist, do not add it.
Change the "ONBOOT" value to "yes".
CONFIG_TEXT: ONBOOT=yes
Add the "TYPE" option to each of the network configuration files.
CONFIG_TEXT: TYPE=Ethernet
- Save and close the file.
- Run Elevate again.
Comments
0 comments
Article is closed for comments.