rawhide report: 20051108 changes
Jeremy Katz
katzj at redhat.com
Tue Nov 8 15:55:25 UTC 2005
On Tue, 2005-11-08 at 08:56 -0600, 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 at redhat.com> - 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
You want to set it in the [main] section
of /etc/yum/pluginconf.d/installonlyn.conf, but that's the basic idea
Jeremy
More information about the fedora-devel-list
mailing list