Not sure if "installonly_kernel=" is a valid option, it's not listed in the man page,
man yum.conf david walcroft wrote:
I'm trying to keep 4 kernels in /boot/grub/grub.conf I have this in /etc/yum.conf [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800 exclude= installonly_kernel=4 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d But it is not working,is there somewhere else that controls this or have I got 'installonly_kernel=4' wrong. david