Re: Addon Order

bishop <[email protected]> Thu, 1 Jun 2017 18:48:34 -0400
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
Alex,

/etc/yum.repos.d/CentOS-Base.repo isn't replaced or updated:  it's a
config file, and appears to be config(noreplace).  If you >it then your
troubles with that one should be over.

I had to wait until I could check, but I was sure of it.  And my own
cobbler-installed systems have relied on this since at least centos4,
despite many, many updates of the centos-release.

(I use a modified %yum_repos macro in the kickstart to write a cron job
that creates a new repo file, so the repos in my profiles always launder
out into the subscribed hosts.  Works well)

If you *delete* that repo file, though, yes, of course, it's going to be
restored with a new copy.  Maybe don't do that.

 - bish


> On Thu, Jun 1, 2017 at 7:29 AM, Alex Martin <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     The problem is, once the centos-release package is installed, it
>     replaces or updates the /etc/yum.repos.d/CentOS-Base.repo files back
>     to their defaults.
> 
>     This causes the installer to hang trying to download required scap
>     files for that profile from the internet.
>