On 28 July 2010 16:06, John Hodrien <[email protected]> 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 > [email protected] > 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.... _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
