centos2ol icon indicating copy to clipboard operation
centos2ol copied to clipboard

UEK kernel not being set to default on CentOS 8 to Oracle 8 conversion

Open asmussen opened this issue 4 years ago • 1 comments

After using this script to convert a test system, I found that the UEK kernel was installed, but not set as the default booting kernel. I believe that the problem is in this line:

uek_path=$(find /boot -name "vmlinuz-*.el${os_version}uek.${arch}")

Adding some debugging lines before that, it appears that os_version was set to "8.4", but the path to the installed UEK kernel has "el8uek", not "el8.4uek":

/boot/vmlinuz-5.4.17-2102.204.4.4.el8uek.x86_64

I suspect that it should be using ${major_os_version} instead of ${os_version} in the assignment of the uek_path variable.

asmussen avatar Aug 31 '21 08:08 asmussen

Thanks, will look into this.

Djelibeybi avatar Aug 31 '21 09:08 Djelibeybi