Brian Millett wrote:
On Tue, 2005-11-08 at 08:25 -0500, Build System wrote:
Updated Packages:
yum-2.4.0-9
-----------
* Mon Nov 07 2005 Jeremy Katz <katzj@xxxxxxxxxx> - 2.4.0-9
- enable plugins by default
- add installyonlyn plugin so that we only keep two kernels around by default
So after looking at the code in /usr/lib/yum-plugins/installonlyn.py,
def config_hook(conduit):
global num_tokeep
num_tokeep = conduit.confInt('main', 'tokeep', default=2)
am I correct in that the correct place to change the default (2) is in
the /etc/yum.conf file with a
tokeep=3
if I want to keep 3 kernels?
Thanks.
That probably wont be retained through package updates. The plugin
should offering some specific configuration file to change this value if
you want to do it a maintainable fashion
regards
Rahul
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list