Migration Script Offline Repo

Is there a way to run the migration script on a non internet connected Centos 8 server with an internal repo? I have tried pointing the URLs in the script to an internal repo which gets me futher along… However it then creates the new REPO files followed by attempting to connect to mirrors.rockylinux.org

I found a workaround and added a pause line in the script after it creates the Rocky repo files, then updated the repo files to point to my internal repo before resuming the script.

I’m attempting to do something similar. How did you bypass the gpg check? What line did you insert the pause?