Re: kernel install/update tries to remove older kernel
Posted by NedSlider on 2009/7/4 11:32:39
Edit the file /etc/yum/pluginconf.d/installonlyn.conf and look for a line like:
to keep old kernels up to 5, for example. I believe the default is 2.
Just a quick note that this setting is now called installonly_limit
and is in /etc/yum.conf:
# Note: yum-RHN-plugin doesn't honor this.
installonly_limit = 5
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=37&topic_id=10324&post_id=80334