On 08/24/2015 05:24 AM, Luigi Rosa wrote: > Nicolas Thierry-Mieg wrote on 24/08/2015 00:24: > >>> 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) > > According to man page: > > /* > installonlypkgs List of package provides that should only ever be installed, > never updated. > */ > > This is not the case for two reasons: (1) I want to install rescue kernel image yes, install: not update. That's what installonlypkgs and installonly_limit are for. Read the manpage again carefully, that sentence you quoted is tricky. > and (2) there is no rpm package for rescue kernel that's a problem though... where do these files come from?