mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-21 20:51:26 +00:00
Peter Ajamian
1c25367f8b
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. |
||
---|---|---|
centos2rocky.sh | ||
migrate2rocky.sh | ||
README.md |
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.