[CentOS] CentOS 7 - Limiting rescue kernel imeges

Mon Aug 24 03:24:15 UTC 2015
Luigi Rosa <lists at luigirosa.com>

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
and (2) there is no rpm package for rescue kernel




-- 


Ciao,
luigi

/
+--[Luigi Rosa]--
\

For every action, there is an equal and opposite criticism.