[CentOS] CentOS 7 - Limiting rescue kernel imeges

Sun Aug 23 22:24:06 UTC 2015
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>


On 08/23/2015 12:23 PM, Luigi Rosa wrote:
> In order to keep only 3 kernel images on a CentOS 7 I edited
> /etc/yum.conf and I put
>
> installonly_limit=3
>
>
> This parameter works for standard kernel images, but does not work for
> rescue images:
>
<snip>
> Is there a way to keep rescue images within a certain limit?

man yum.conf , search for installonlypkgs (that's on centos6, might vary 
in 7)