Re: Kickstart-list Digest, Vol 149, Issue 2

Matthew <[email protected]> Fri, 2 Jun 2017 13:59:05 -0400
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CAHc5b7_F5q1HQ7ytn_KaX2vPE7u_xOPmBFjkd+s8_T0Jd2hfVg@mail.gmail.com>
--===============8269998216696292061==
Content-Type: multipart/alternative; boundary="001a11467380c681880550fde892"

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

Option Z.
Rpm2cpio package| cpio -idv
Make changes to config file
Repackage the RPM,
Etc. Etc.

Matthew Conley
912-398-6704

On Jun 2, 2017 7:50 AM, <[email protected]> wrote:

> Send Kickstart-list mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.redhat.com/mailman/listinfo/kickstart-list
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Kickstart-list digest..."
>
> Today's Topics:
>
>    1. Re: Kickstart-list Digest, Vol 149, Issue 1 (Matthew)
>    2. Re: Addon Order (Kyle Powell)
>    3. Re: Addon Order (bishop)
>    4. Re: Addon Order (Alex Martin)
>
>
> ---------- Forwarded message ----------
> From: Matthew <[email protected]>
> To: [email protected]
> Cc:
> Bcc:
> Date: Thu, 1 Jun 2017 12:15:15 -0400
> Subject: Re: Kickstart-list Digest, Vol 149, Issue 1
> Would either creating an etc/hosts file with the proper settings or a
> proxy config work?
>
> Matthew Conley
> 912-398-6704 <(912)%20398-6704>
>
> On Jun 1, 2017 12:00 PM, <[email protected]> wrote:
>
>> Send Kickstart-list mailing list submissions to
>>         [email protected]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://www.redhat.com/mailman/listinfo/kickstart-list
>> or, via email, send a message with subject or body 'help' to
>>         [email protected]
>>
>> You can reach the person managing the list at
>>         [email protected]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Kickstart-list digest..."
>>
>> Today's Topics:
>>
>>    1. Addon Order (Alex Martin)
>>
>>
>> ---------- Forwarded message ----------
>> From: Alex Martin <[email protected]>
>> To: [email protected]
>> Cc:
>> Bcc:
>> Date: Thu, 1 Jun 2017 12:29:49 +0100
>> Subject: Addon Order
>> Hello,
>>
>> I have a bit of an odd use-case. Part of our environment is isolated off
>> from the internet, so to get around this, I have mirrored the CentOS and
>> Epel repos locally and running the installer against those.
>>
>> The environment is isolated off due to PCI compliance, so I'm trying to
>> configure kickstart to select this profile at install.
>>
>> %addon org_fedora_oscap
>>     content-type = scap-security-guide
>>     profile = pci-dss
>> %end
>>
>> 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.
>>
>> I have attempted to create an addon which runs just after the packages
>> install, but before the org_fedora_oscap addon, this new addon updates the
>> repo URLs back to the mirrored location.
>> /mnt/sysimage/etc/yum.repos.d/CentOS-Base.repo.
>>
>> However, despite the addon running fine, it seems to run AFTER the
>> org_fedora_oscap addon.
>>
>> So basically, am I going around this the wrong way, or is there some
>> logic behind which addons are executed in which order?
>>
>> The relevant part of the kickstart file looks roughly like this:
>>
>> %packages
>> @^minimal
>> @core
>> chrony
>> kexec-tools
>> #Additional
>> <list of more packages>
>>
>> %end
>>
>> %addon org_update_repo
>> %end
>>
>>
>> %addon org_fedora_oscap
>>     content-type = scap-security-guide
>>     profile = pci-dss
>> %end
>>
>> I can post the full sanitised file if requested.
>>
>> My next option is to update the org_fedora_oscap addon to replace the
>> paths, but I think I might be going around this all the wrong way.
>>
>> Would really appreciate any advice!
>> Cheers.
>> Alex
>>
>>
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>
>
>
> ---------- Forwarded message ----------
> From: Kyle Powell <[email protected]>
> To: Discussion list about Kickstart <[email protected]>
> Cc:
> Bcc:
> Date: Thu, 1 Jun 2017 15:51:59 -0400
> Subject: Re: Addon Order
> 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
>
>
> ---------- Forwarded message ----------
> From: bishop <[email protected]>
> To: Discussion list about Kickstart <[email protected]>
> Cc:
> Bcc:
> Date: Thu, 1 Jun 2017 18:48:34 -0400
> Subject: Re: Addon Order
>
> 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.
> >
>
>
>
>
> ---------- Forwarded message ----------
> From: Alex Martin <[email protected]>
> To: Discussion list about Kickstart <[email protected]>
> Cc:
> Bcc:
> Date: Fri, 2 Jun 2017 12:50:06 +0100
> Subject: Re: Addon Order
> The org_fedora_oscap addon which does the remediation bits runs in the
> /mnt/sysimage chroot environment and accesses the files in /etc/yum.repos.d
> (looking at strace)
> Because of this, I don't think it respects the repo or proxy lines in the
> kickstart file, hence my attempt to edit the repo files directly before the
> addon executing.
>
> Just to check, the %pre section of the kickstart runs before the disk is
> partitioned, is the correct?
> And the %post sections run after the packages have been installed?
>
> So is there anyway to get files onto the target system before the packages
> are installed?
>
> Thanks
> Alex
>
>
>
> On 1 June 2017 at 23:48, bishop <[email protected]> wrote:
>
>>
>> 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.
>> >
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>
>
>
> _______________________________________________
> Kickstart-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

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

<div dir=3D"auto">Option Z.=C2=A0<div dir=3D"auto">Rpm2cpio package| cpio -=
idv<div dir=3D"auto">Make changes to config file</div><div dir=3D"auto">Rep=
ackage the RPM,=C2=A0</div><div dir=3D"auto">Etc. Etc.<br><br><div data-sma=
rtmail=3D"gmail_signature" dir=3D"auto">Matthew Conley<br>912-398-6704</div=
></div></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote=
">On Jun 2, 2017 7:50 AM,  &lt;<a href=3D"mailto:kickstart-list-request@red=
hat.com">[email protected]</a>&gt; wrote:<br type=3D"attrib=
ution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">Send Kickstart-list mailing list subm=
issions to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]">ki=
[email protected]</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.redhat.com/mailman/listi=
nfo/kickstart-list" rel=3D"noreferrer" target=3D"_blank">https://www.redhat=
.com/<wbr>mailman/listinfo/kickstart-<wbr>list</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:kickstart-list-request@redhat=
.com">kickstart-list-request@redhat.<wbr>com</a><br>
<br>
You can reach the person managing the list at<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]=
om">kickstart-list-owner@redhat.<wbr>com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Kickstart-list digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
=C2=A0 =C2=A01. Re: Kickstart-list Digest, Vol 149, Issue 1 (Matthew)<br>
=C2=A0 =C2=A02. Re: Addon Order (Kyle Powell)<br>
=C2=A0 =C2=A03. Re: Addon Order (bishop)<br>
=C2=A0 =C2=A04. Re: Addon Order (Alex Martin)<br>
<br><br>---------- Forwarded message ----------<br>From:=C2=A0Matthew &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt;<br>To:=C2=
=A0<a href=3D"mailto:[email protected]">[email protected]</=
a><br>Cc:=C2=A0<br>Bcc:=C2=A0<br>Date:=C2=A0Thu, 1 Jun 2017 12:15:15 -0400<=
br>Subject:=C2=A0Re: Kickstart-list Digest, Vol 149, Issue 1<br><div dir=3D=
"auto">Would either creating an etc/hosts file with the proper settings or =
a proxy config work?<br><br><div data-smartmail=3D"gmail_signature">Matthew=
 Conley<br><a href=3D"tel:(912)%20398-6704" value=3D"+19123986704" target=
=3D"_blank">912-398-6704</a></div></div><div class=3D"gmail_extra"><br><div=
 class=3D"gmail_quote">On Jun 1, 2017 12:00 PM,  &lt;<a href=3D"mailto:kick=
[email protected]" target=3D"_blank">kickstart-list-request@<wb=
r>redhat.com</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">Send Kickstart-list mailing list submissions to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.redhat.com/mailman/listi=
nfo/kickstart-list" rel=3D"noreferrer" target=3D"_blank">https://www.redhat=
.com/mailman<wbr>/listinfo/kickstart-list</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:kickstart-list-request@redhat=
.com" target=3D"_blank">kickstart-list-request@redhat.<wbr>com</a><br>
<br>
You can reach the person managing the list at<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]=
om" target=3D"_blank">[email protected]<wbr>m</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Kickstart-list digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
=C2=A0 =C2=A01. Addon Order (Alex Martin)<br>
<br><br>---------- Forwarded message ----------<br>From:=C2=A0Alex Martin &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">alexmartin.=
[email protected]</a>&gt;<br>To:=C2=A0<a href=3D"mailto:[email protected]=
m" target=3D"_blank">[email protected]</a><br>Cc:=C2=A0<br>Bcc:=C2=
=A0<br>Date:=C2=A0Thu, 1 Jun 2017 12:29:49 +0100<br>Subject:=C2=A0Addon Ord=
er<br><div dir=3D"ltr">Hello,<div><br></div><div>I have a bit of an odd use=
-case. Part of our environment is isolated off from the internet, so to get=
 around this, I have mirrored the CentOS and Epel repos locally and running=
 the installer against those.</div><div><br></div><div>The environment is i=
solated off due to PCI compliance, so I&#39;m trying to configure kickstart=
 to select this profile at install.</div><div><br></div><div><div>%addon or=
g_fedora_oscap</div><div>=C2=A0 =C2=A0 content-type =3D scap-security-guide=
</div><div>=C2=A0 =C2=A0 profile =3D pci-dss</div><div>%end</div></div><div=
><br></div><div>The problem is, once the centos-release package is installe=
d, it replaces or updates the /etc/yum.repos.d/CentOS-Base.r<wbr>epo files =
back to their defaults.</div><div><br></div><div>This causes the installer =
to hang trying to download required scap files for that profile from the in=
ternet.</div><div><br></div><div>I have attempted to create an addon which =
runs just after the packages install, but before the org_fedora_oscap addon=
, this new addon updates the repo URLs back to the mirrored location.</div>=
<div>/mnt/sysimage/etc/yum.repos.d/<wbr>CentOS-Base.repo.</div><div><br></d=
iv><div>However, despite the addon running fine, it seems to run AFTER the =
org_fedora_oscap addon.</div><div><br></div><div>So basically, am I going a=
round this the wrong way, or is there some logic behind which addons are ex=
ecuted in which order?</div><div><br></div><div>The relevant part of the ki=
ckstart file looks roughly like this:</div><div><br></div><div><div>%packag=
es</div><div>@^minimal</div><div>@core</div><div>chrony</div><div>kexec-too=
ls</div><div>#Additional</div><div>&lt;list of more packages&gt;</div><div>=
<br></div><div>%end</div></div><div><br></div><div><div>%addon org_update_r=
epo</div><div>%end</div><div><br></div><div><br></div><div>%addon org_fedor=
a_oscap</div><div>=C2=A0 =C2=A0 content-type =3D scap-security-guide</div><=
div>=C2=A0 =C2=A0 profile =3D pci-dss</div><div>%end</div></div><div><br></=
div><div>I can post the full sanitised file if requested.=C2=A0</div><div><=
br></div><div>My next option is to update the org_fedora_oscap addon to rep=
lace the paths, but I think I might be going around this all the wrong way.=
=C2=A0</div><div><br></div><div>Would really appreciate any advice!</div><d=
iv>Cheers.</div><div>Alex</div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Kickstart-li=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" rel=3D"n=
oreferrer" target=3D"_blank">https://www.redhat.com/mailman<wbr>/listinfo/k=
ickstart-list</a><br></blockquote></div></div>
<br><br>---------- Forwarded message ----------<br>From:=C2=A0Kyle Powell &=
lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;<br>To:=
=C2=A0Discussion list about Kickstart &lt;<a href=3D"mailto:kickstart-list@=
redhat.com">[email protected]</a>&gt;<br>Cc:=C2=A0<br>Bcc:=C2=A0<br=
>Date:=C2=A0Thu, 1 Jun 2017 15:51:59 -0400<br>Subject:=C2=A0Re: Addon Order=
<br><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Thu, Jun 1, 2017 at 7:29 AM, Alex Martin <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"=
>The problem is, once the centos-release package is installed, it replaces =
or updates the /etc/yum.repos.d/CentOS-Base.<wbr>repo files back to their d=
efaults.<div><br></div><div>This causes the installer to hang trying to dow=
nload required scap files for that profile from the internet.</div></div></=
blockquote><div><br></div><div>If this is your problem, would using alterna=
te yum repos for installation instead of trying to redefine the base repos =
in CentOS-Base.repo correct the issue? Something like:<br><br></div><div>re=
po --name=3DCentOS-Local --baseurl=3D/whatever/is/in/<wbr>modified/CentOS-B=
ase.repo<br><br></div><div>in your kickstart cfg (I&#39;d put it before %pa=
ckages) would define an alternate repo to use for installation and prevent =
the installation of the centos-release package from breaking the installati=
on. <br></div></div><br>-- <br><div class=3D"m_2763174329184395737gmail_sig=
nature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Kyle Powell | R=
ed Hat | Senior Consultant, RHCA<br></div></div>
</div></div>
<br><br>---------- Forwarded message ----------<br>From:=C2=A0bishop &lt;<a=
 href=3D"mailto:[email protected]">[email protected]</a>&gt;<br>To:=
=C2=A0Discussion list about Kickstart &lt;<a href=3D"mailto:kickstart-list@=
redhat.com">[email protected]</a>&gt;<br>Cc:=C2=A0<br>Bcc:=C2=A0<br=
>Date:=C2=A0Thu, 1 Jun 2017 18:48:34 -0400<br>Subject:=C2=A0Re: Addon Order=
<br><br>
Alex,<br>
<br>
/etc/yum.repos.d/CentOS-Base.<wbr>repo isn&#39;t replaced or updated:=C2=A0=
 it&#39;s a<br>
config file, and appears to be config(noreplace).=C2=A0 If you &gt;it then =
your<br>
troubles with that one should be over.<br>
<br>
I had to wait until I could check, but I was sure of it.=C2=A0 And my own<b=
r>
cobbler-installed systems have relied on this since at least centos4,<br>
despite many, many updates of the centos-release.<br>
<br>
(I use a modified %yum_repos macro in the kickstart to write a cron job<br>
that creates a new repo file, so the repos in my profiles always launder<br=
>
out into the subscribed hosts.=C2=A0 Works well)<br>
<br>
If you *delete* that repo file, though, yes, of course, it&#39;s going to b=
e<br>
restored with a new copy.=C2=A0 Maybe don&#39;t do that.<br>
<br>
=C2=A0- bish<br>
<br>
<br>
&gt; On Thu, Jun 1, 2017 at 7:29 AM, Alex Martin &lt;<a href=3D"mailto:alex=
[email protected]">[email protected]</a><br>
&gt; &lt;mailto:<a href=3D"mailto:[email protected]">alexmartin.bu@gm=
ail.<wbr>com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The problem is, once the centos-release package is =
installed, it<br>
&gt;=C2=A0 =C2=A0 =C2=A0replaces or updates the /etc/yum.repos.d/CentOS-Bas=
e.<wbr>repo files back<br>
&gt;=C2=A0 =C2=A0 =C2=A0to their defaults.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0This causes the installer to hang trying to downloa=
d required scap<br>
&gt;=C2=A0 =C2=A0 =C2=A0files for that profile from the internet.<br>
&gt;<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From:=C2=A0Alex Martin &=
lt;<a href=3D"mailto:[email protected]">[email protected]</a>&g=
t;<br>To:=C2=A0Discussion list about Kickstart &lt;<a href=3D"mailto:kickst=
[email protected]">[email protected]</a>&gt;<br>Cc:=C2=A0<br>Bcc:=
=C2=A0<br>Date:=C2=A0Fri, 2 Jun 2017 12:50:06 +0100<br>Subject:=C2=A0Re: Ad=
don Order<br><div dir=3D"ltr">The org_fedora_oscap addon which does the rem=
ediation bits runs in the /mnt/sysimage chroot environment and accesses the=
 files in /etc/yum.repos.d (looking at strace)<div>Because of this, I don&#=
39;t think it respects the repo or proxy lines in the kickstart file, hence=
 my attempt to edit the repo files directly before the addon executing.</di=
v><div><br></div><div>Just to check, the %pre section of the kickstart runs=
 before the disk is partitioned, is the correct?</div><div>And the %post se=
ctions run after the packages have been installed?</div><div><br></div><div=
>So is there anyway to get files onto the target system before the packages=
 are installed?=C2=A0</div><div><br></div><div>Thanks</div><div>Alex</div><=
div><br></div><div><br></div></div><div class=3D"gmail_extra"><br><div clas=
s=3D"gmail_quote">On 1 June 2017 at 23:48, bishop <span dir=3D"ltr">&lt;<a =
href=3D"mailto:[email protected]" target=3D"_blank">[email protected].=
ca</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Alex,<br>
<br>
/etc/yum.repos.d/CentOS-Base.r<wbr>epo isn&#39;t replaced or updated:=C2=A0=
 it&#39;s a<br>
config file, and appears to be config(noreplace).=C2=A0 If you &gt;it then =
your<br>
troubles with that one should be over.<br>
<br>
I had to wait until I could check, but I was sure of it.=C2=A0 And my own<b=
r>
cobbler-installed systems have relied on this since at least centos4,<br>
despite many, many updates of the centos-release.<br>
<br>
(I use a modified %yum_repos macro in the kickstart to write a cron job<br>
that creates a new repo file, so the repos in my profiles always launder<br=
>
out into the subscribed hosts.=C2=A0 Works well)<br>
<br>
If you *delete* that repo file, though, yes, of course, it&#39;s going to b=
e<br>
restored with a new copy.=C2=A0 Maybe don&#39;t do that.<br>
<br>
=C2=A0- bish<br>
<span><br>
<br>
&gt; On Thu, Jun 1, 2017 at 7:29 AM, Alex Martin &lt;<a href=3D"mailto:alex=
[email protected]" target=3D"_blank">[email protected]</a><br>
</span><span>&gt; &lt;mailto:<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]<wbr>m</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The problem is, once the centos-release package is =
installed, it<br>
&gt;=C2=A0 =C2=A0 =C2=A0replaces or updates the /etc/yum.repos.d/CentOS-Bas=
e.r<wbr>epo files back<br>
&gt;=C2=A0 =C2=A0 =C2=A0to their defaults.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0This causes the installer to hang trying to downloa=
d required scap<br>
&gt;=C2=A0 =C2=A0 =C2=A0files for that profile from the internet.<br>
&gt;<br>
<br>
</span>______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Kickstart-li=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" rel=3D"n=
oreferrer" target=3D"_blank">https://www.redhat.com/mailman<wbr>/listinfo/k=
ickstart-list</a><br>
</blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><=
br>
<a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" rel=3D"n=
oreferrer" target=3D"_blank">https://www.redhat.com/<wbr>mailman/listinfo/k=
ickstart-<wbr>list</a><br></blockquote></div></div>

--001a11467380c681880550fde892--


--===============8269998216696292061==
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
--===============8269998216696292061==--