Go to file
Peter Ajamian 1c25367f8b Various RHEL fixes
Various fixes to allow RHEL conversions to work:
- adding additional commands to bin_check
- Fixed awk command to parse out the gpgkey for a repo.
- provides_pkg() which returns a package name for a given provides.
- allow additional packages to be removed without replacing them with rocky
  equivalents.
- Don't bother checkign the exit status of dnf shell, it doesn't return a valid
  fail status anyways.
- Instead check to make sure that the appropriate packages have been removed and
  installed.  If not attempt to fix with rpm.
2021-05-14 02:26:20 +12:00
centos2rocky.sh remove unneeded option 2021-05-07 17:16:32 -07:00
migrate2rocky.sh Various RHEL fixes 2021-05-14 02:26:20 +12:00
README.md Touched up readme 2021-05-03 22:36:49 -04:00

Rocky Tools

Various scripts and tools that we find useful, whether we use them or they are made for public consumption. For example, conversion scripts or otherwise.

[Centos2Rocky] -- Conversion Script

Running this script will convert an existing CentOS 8 system to Rocky Linux 8.

Usage

./centos2rocky.sh -h
├── -h   # --> Displays this help
├── -r   # --> Converts to Rocky
├── -V   # --> Verifies switch
└── -R   # --> Reinstalls all packages 

[!! USE WITH CAUTION !!]

Debugging

The centos2rocky script pipes everything shown on stdout to /var/log/centos2rocky.log.

If you run in to issues executing this script, please submit an issue here.

Make sure to include the output log, and remove any sensitive information. (if any)

Feel free to create a pull request if you think you've got the fix.