centos2ol
centos2ol copied to clipboard
A modest attempt to improve logging and recovery of cenos2ol
I slightly modified the script to improve logging and recovery for my needs. But some of the changes might have a wider appeal.
I think it might make sense to review the modified script. It is called centos2ol_plus
(Code and link removed by @Djelibeybi)
Thanks for getting involved @softpano! Please have a read of CONTRIBUTING.md to better understand the process we use in this repo
If you'd like us to review your code (and we'd love to), we need you to review the contribution guide and submit a signed Oracle Contributor Agreement first. This protects both you and Oracle.
If you do sign the the OCA, please consider submitting your improvements as an actual pull request so that we can review and merge it into this repo.
I second this request. I had an issue where an out-of-memory event killed the distro sync. The error message says to run distro-sync again, that's nice but next steps had to be manually executed because there is no recover method. In my case, I had to then manually fix the bootloader with the UEK kernel. In my case, it was these three commands
grub2-mkconfig -o /boot/grub2/grub.cfg
uek_path=$(find /boot -name "vmlinuz-*.el8uek.x86_64")
grubby --set-default="${uek_path}"
Note the second line has to have correct os version (el6,el7,el8) and architecture (x86_64)
If we get code that fixes the issue that we're allowed to review, i.e. that follows the contribution guide, we'll happily review/merge it. :)