I updated the kernel on our servers from the CentOS default of 3.10.xxx to 4.17.xxx using the elrepo repository.
After adding the repo, I installed the kernel-m1 package. Edited /etc/default/grub to default to the top kernel (0) and rebuilt the grub config.
Everything has been working, except when
yum update runs it will update the 3.10.xxx kernel if available and replaces 4.17.xxx in the boot order.
What is the correct way to deal with this issue? Should I add an exclude to the CentOS-Base repository for kernel packages?