Resolve network interface naming issue
Leapp upgrade from RHEL 7.9 to 8.8 fails during the leapp preupgrade
phase due to the use of kernel-style interface names (For example, eth0
,
eth1
) when multiple network interfaces are present.
To proceed with the upgrade, rename the interfaces using persistent, custom names (For example, net0
, net1
) by defining udev rules before starting the
upgrade.
Steps
Next steps
- Revert back the interface name back to it's original name under /etc/sysconfig/network-scripts/:
ifcfg-net0
→ifcfg-eth0
ifcfg-net1
→ifcfg-eth1
- Update the entries NAME and DEVICE of individual interface to match the original interface name such as
eth0
andeth1
. - Delete /etc/udev/rules.d/10-persistent.rules.
- Reboot the system to update the interface name.