Go to file
Peter Ajamian 029f172fe3 Use exec to redirect output to log instead of subshell
Avoid forking a subshell by using exec to redirect output to log file.
Additional logging improvements are: Set filename at the top of script once
instead of hard-coding it throughout the script.  Log both stdout and stderr.
2021-05-07 16:22:45 +12:00
centos2rocky.sh Use exec to redirect output to log instead of subshell 2021-05-07 16:22:45 +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.