Upgrade from CentOS 7 to Rocky 8

The documentation clearly states versions 8 and 9. There is no mention of CentOS 7. These scripts are designed to migrate from one derivative to another of the same major version, such as RHEL 8 to Rocky Linux 8, or Oracle Linux 9 to Rocky Linux 9.

You are recommended to stand up new Rocky Linux systems and plan your migration that way.