[Spacewalk-list] Disable repos

James Hogarth james.hogarth at gmail.com
Wed Jul 28 15:19:42 UTC 2010


On 28 July 2010 16:06, John Hodrien <J.H.Hodrien at leeds.ac.uk> wrote:
> On Wed, 28 Jul 2010, Christoph Sievers wrote:
>
>> Am 28.07.10 16:31, schrieb James Hogarth:
>>
>>> As an example I have a no chroot post script that says this:
>>>
>>
>> I recommend to set reposdir to /dev/null within yum.con
>
> To carry on this iterative advice, I;d recommend setting it to
> /etc/yum.repos.d/custom in yum.conf.  That way you can easy enabled repos if
> you want to enable them outside spacewalk, but won't get caught out by
> package
> updates placing repo files in /etc/yum.repos.d (which is the problem with
> the
> first suggestion).
>
> jh
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

Ah good point on my suggestion - it is a pain on an upgrade to a new
point release and hadn't got around to changing that ;)

Just copied and pasted straight out of my kickstart...

You should still mark it as a non-chroot post script though so that
any changes you make take effect before the registration....




More information about the Spacewalk-list mailing list