2021-04-25 17:08:19 +00:00
|
|
|
Rocky Tools
|
|
|
|
===========
|
|
|
|
|
2021-04-25 17:10:34 +00:00
|
|
|
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.
|
|
|
|
|
2021-05-04 02:33:47 +00:00
|
|
|
## [Centos2Rocky] -- Conversion Script
|
|
|
|
|
|
|
|
Running this script will convert an existing CentOS 8 system to Rocky Linux 8.
|
|
|
|
|
2021-05-04 02:35:41 +00:00
|
|
|
### Usage
|
2021-05-04 02:33:47 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
./centos2rocky.sh -h
|
|
|
|
├── -h # --> Displays this help
|
|
|
|
├── -r # --> Converts to Rocky
|
|
|
|
├── -V # --> Verifies switch
|
|
|
|
└── -R # --> Reinstalls all packages
|
|
|
|
|
|
|
|
[!! USE WITH CAUTION !!]
|
2021-04-25 17:10:34 +00:00
|
|
|
```
|
2021-05-04 02:33:47 +00:00
|
|
|
|
2021-05-04 02:35:41 +00:00
|
|
|
### Debugging
|
2021-05-04 02:33:47 +00:00
|
|
|
|
|
|
|
The `centos2rocky` script pipes everything shown on `stdout` to `/var/log/centos2rocky.log`.
|
|
|
|
|
2021-05-04 02:36:49 +00:00
|
|
|
If you run in to issues executing this script, please submit an issue [here](https://github.com/rocky-linux/rocky-tools/issues).
|
2021-05-04 02:33:47 +00:00
|
|
|
|
|
|
|
Make sure to [include the output log](https://pastebin.com/), and remove any sensitive information. (if any)
|
|
|
|
|
|
|
|
Feel free to create a pull request if you think you've got the fix.
|