On Wed, 20 Oct 2010, Tom Brown wrote:

Downside is that the repos aren't disabled before the rhnreg_ks (so any
activation key installed packages will use those repos).  Also, and I accept
this is a minor risk, package updates in future risk wiping out this, or
adding other repo files to that directory.  Use of a custom directory in the
yum.conf avoids this, and yum package updates preserve changes to the
yum.conf.

i just rebuild the centos-release package so as to not include the
repo definitions in the first place.

To me this is the cleanest way.

That indeed has a certain charm too.  Does that mean a rebuild per minor
release though?

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

Reply via email to