Re: Addon Order

Kyle Powell <[email protected]> Thu, 1 Jun 2017 15:51:59 -0400
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CALu+ygvdAOgmgOA_W21pE9R3j0-eUYt2BbcfpKcicprmqs-7Qw@mail.gmail.com>
--===============4573594793301881509==
Content-Type: multipart/alternative; boundary="f4030435bc18adc8000550eb5e6d"

--f4030435bc18adc8000550eb5e6d
Content-Type: text/plain; charset="UTF-8"

On Thu, Jun 1, 2017 at 7:29 AM, Alex Martin <[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.
>

If this is your problem, would using alternate yum repos for installation
instead of trying to redefine the base repos in CentOS-Base.repo correct
the issue? Something like:

repo --name=CentOS-Local --baseurl=/whatever/is/in/modified/CentOS-Base.repo

in your kickstart cfg (I'd put it before %packages) would define an
alternate repo to use for installation and prevent the installation of the
centos-release package from breaking the installation.

-- 
Kyle Powell | Red Hat | Senior Consultant, RHCA

--f4030435bc18adc8000550eb5e6d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, Jun 1, 2017 at 7:29 AM, Alex Martin <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:[email protected]" target=3D"_blank">[email protected]</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">The p=
roblem is, once the centos-release package is installed, it replaces or upd=
ates the /etc/yum.repos.d/CentOS-Base.repo files back to their defaults.<di=
v><br></div><div>This causes the installer to hang trying to download requi=
red scap files for that profile from the internet.</div></div></blockquote>=
<div><br></div><div>If this is your problem, would using alternate yum repo=
s for installation instead of trying to redefine the base repos in CentOS-B=
ase.repo correct the issue? Something like:<br><br></div><div>repo --name=
=3DCentOS-Local --baseurl=3D/whatever/is/in/modified/CentOS-Base.repo<br><b=
r></div><div>in your kickstart cfg (I&#39;d put it before %packages) would =
define an alternate repo to use for installation and prevent the installati=
on of the centos-release package from breaking the installation. <br></div>=
</div><br>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_sig=
nature"><div dir=3D"ltr">Kyle Powell | Red Hat | Senior Consultant, RHCA<br=
></div></div>
</div></div>

--f4030435bc18adc8000550eb5e6d--


--===============4573594793301881509==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
--===============4573594793301881509==--