On Tue, 2005-11-08 at 10:55 -0500, Jeremy Katz wrote:
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(a)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
Right! That make much more since.
Thanks.
--
Brian Millett - [ Knight Two, "And the Sky Full of Stars"]
"Maybe you're asleep. Maybe you're insane. Maybe you're dead. Maybe
you're in Hell! Not that it matters much, Commander Sinclair, because
wherever you are, wherever you go, you're mine."