On Fri, 4 Dec 2009, Jonathan Scott wrote:

Since I pull down everything into local channels and use the
yum-rhn-plugin, I just drop the following in my /etc/yum.conf during my
%post:

reposdir=

seems to do the trick, lasts through full system updates/upgrades.
The .repo files are still there, they get overwritten when I update the
server, but they're never checked because of that reposdir setting, just
the rhn-plugin.

Give or take, that's the same as I do, and it works well.  I set it to be
/etc/yum.repos.d/custom, which means dropping a symlink in there enables local
yum usage if I really want it.

jh

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to