Re: --ignoremissing and other %package line controls.

Greg Oliver <[email protected]> Thu, 14 Jun 2018 20:20:19 -0500
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CAF4tN+8BWwL6UGr5O99GQrQCKn4m3EsVbyAMeM2oQAimZx4xOQ@mail.gmail.com>
--===============4864610533962405531==
Content-Type: multipart/alternative; boundary="000000000000e8f3f7056ea40431"

--000000000000e8f3f7056ea40431
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 14, 2018 at 6:22 PM, C. Petro <[email protected]> wrote:

> =E2=80=8BI had a ISO that I built for this client 2 years ago based off R=
EHL7.2
> that worked a treat.
>
> I was updating it to RHEL 7.5 for some new server builds, and fixing some
> minor issues (some additional packages like Nano, telnet and adcli becaus=
e
> they're a windows shop).
>
> "Ideally" I'd do something like this out of Cobbler or whatever they're
> calling it these days, or do a local package mirror. But they have such a
> small Linux footprint that it's not really worth it, And these servers ar=
e
> in a DMZ, so they're really isolated network wise.
>
>
=E2=80=8BI have done the same thing.  You apparently ripped apart the 7.2 i=
so back
then, so rip apart the 7.5 iso and the packages should already be on it..
Not sure I understand..=E2=80=8B



> On Thu, Jun 14, 2018 at 4:06 PM, Greg Oliver <[email protected]>
> wrote:
>
>> On Thu, Jun 14, 2018 at 4:50 PM, C. Petro <[email protected]> wrote:
>>
>>> Oh, and also does anyone know a good way to check to make sure that the
>>> contents of your isolinux/Package directory contains all the depedencie=
s
>>> that your %packages section is asking for?
>>>
>>> The script I found...missed 20 or 30 things.
>>>
>>> On Thu, Jun 14, 2018 at 9:17 AM, C. Petro <[email protected]> wrote:
>>>
>>>> I've been trying to build a custom RHEL7 ISO for installing secure(ish=
)
>>>> servers in a DMZ.
>>>>
>>>> Basically I am trying to minimize the packages installed. I had a
>>>> working set based on RHEL 7.2, and tried to just copy that package lis=
t and
>>>> use RHEL7.5. Of course, dependencies have changed.
>>>>
>>>> So I tried to add:
>>>>
>>>> %packages --ignoremissing
>>>>
>>>> Which did not work--it still attempts to access a non-local repo and
>>>> install additional packages--10 tries at 30 seconds each!
>>>>
>>>> So I set:
>>>> %packages --ignoremissing --retries=3D2 --timeout=3D2
>>>>
>>>> And got no behavior change.
>>>>
>>>> What am I missing here?
>>>>
>>>>
>>>> Regards,
>>>> Petro.
>>>> :wq
>>>>
>>>
>> =E2=80=8BI originally was not going to chime in, but it seems you are lo=
oking for
>> an ISO for installation that has already baked bread and wine.
>>
>>
>> What I do is cp -al the current mirror I have, then rsync mirror the
>> current repo and add that as a repo in my kickstart file.  I know I will
>> always the same exact packages for the duration.  It is really not much
>> data to mirror by today's standards and you will not have to ever worry
>> about missing packages.. =E2=80=8B
>>
>> Of course, you did not share any specifics, so no telling what you are
>> battling.
>>
>> -Greg
>>
>>

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

<div dir=3D"ltr">On Thu, Jun 14, 2018 at 6:22 PM, C. Petro <span dir=3D"ltr=
">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<=
/a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quo=
te"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-size=
:x-small">=E2=80=8BI had a ISO that I built for this client 2 years ago bas=
ed off REHL7.2 that worked a treat.=C2=A0</div><div style=3D"font-size:x-sm=
all"><br>I was updating it to RHEL 7.5 for some new server builds, and fixi=
ng some minor issues (some additional packages like Nano, telnet and adcli =
because they&#39;re a windows shop).=C2=A0</div><div style=3D"font-size:x-s=
mall"><br></div><div style=3D"font-size:x-small">&quot;Ideally&quot; I&#39;=
d do something like this out of Cobbler or whatever they&#39;re calling it =
these days, or do a local package mirror.=C2=A0But they have such a small L=
inux footprint that it&#39;s not really worth it, And these servers are in =
a DMZ, so they&#39;re really isolated network wise.=C2=A0</div><div class=
=3D"gmail_extra"><br></div></div></blockquote><div><br></div><div><div styl=
e=3D"font-family:monospace,monospace" class=3D"gmail_default">=E2=80=8BI ha=
ve done the same thing.=C2=A0 You apparently ripped apart the 7.2 iso back =
then, so rip apart the 7.5 iso and the packages should already be on it..=
=C2=A0 Not sure I understand..=E2=80=8B</div><br></div><div>=C2=A0</div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><di=
v class=3D"gmail_quote">On Thu, Jun 14, 2018 at 4:06 PM, Greg Oliver <span =
dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div dir=3D"ltr"><div><div class=3D"m_8055223639913063416h5">On Thu, Jun=
 14, 2018 at 4:50 PM, C. Petro <span dir=3D"ltr">&lt;<a href=3D"mailto:petr=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br></d=
iv></div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div cl=
ass=3D"m_8055223639913063416h5"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"=
ltr"><div style=3D"font-size:x-small">Oh, and also does anyone know a good =
way to check to make sure that the contents of your isolinux/Package direct=
ory contains all the depedencies that your %packages section is asking for?=
=C2=A0</div><div style=3D"font-size:x-small"><br></div><div style=3D"font-s=
ize:x-small">The script I found...missed 20 or 30 things.=C2=A0</div></div>=
<div class=3D"m_8055223639913063416m_-5305888518861767992HOEnZb"><div class=
=3D"m_8055223639913063416m_-5305888518861767992h5"><div class=3D"gmail_extr=
a"><br><div class=3D"gmail_quote">On Thu, Jun 14, 2018 at 9:17 AM, C. Petro=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[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"><d=
iv dir=3D"ltr"><div style=3D"font-size:x-small">I&#39;ve been trying to bui=
ld a custom RHEL7 ISO for installing secure(ish) servers in a DMZ.=C2=A0</d=
iv><div style=3D"font-size:x-small"><br></div><div style=3D"font-size:x-sma=
ll">Basically I am trying to minimize the packages installed. I had a worki=
ng set based on RHEL 7.2, and tried to just copy that package list and use =
RHEL7.5. Of course, dependencies have changed.=C2=A0</div><div style=3D"fon=
t-size:x-small"><br></div><div style=3D"font-size:x-small">So I tried to ad=
d:=C2=A0</div><div style=3D"font-size:x-small"><br></div><div><font size=3D=
"1">%packages --ignoremissing=C2=A0</font><br></div><div><font size=3D"1"><=
br></font></div><div><font size=3D"1">Which did not work--it still attempts=
 to access a non-local repo and install additional packages--10 tries at 30=
 seconds each!=C2=A0</font></div><div><font size=3D"1"><br></font></div><di=
v><font size=3D"1">So I set:</font></div><div><font size=3D"1">%packages --=
ignoremissing --retries=3D2 --timeout=3D2<br></font></div><div><font size=
=3D"1"><br></font></div><div><font size=3D"1">And got no behavior change.=
=C2=A0</font></div><div><font size=3D"1"><br></font></div><div><font size=
=3D"1">What am I missing here?=C2=A0</font></div><div><br></div><div><br></=
div><div>Regards,</div><div>Petro.</div><div>:wq</div></div>
</blockquote></div></div></div></div></blockquote><div><br></div></div></di=
v><div>=E2=80=8BI originally was not going to chime in, but it seems you ar=
e looking for an ISO for installation that has already baked bread and wine=
.=C2=A0 <br></div><div><br></div><div><br></div><div>What I do is cp -al th=
e current mirror I have, then rsync mirror the current repo and add that as=
 a repo in my kickstart file.=C2=A0 I know I will always the same exact pac=
kages for the duration.=C2=A0 It is really not much data to mirror by today=
&#39;s standards and you will not have to ever worry about missing packages=
.. =E2=80=8B</div><div><br></div><div>Of course, you did not share any spec=
ifics, so no telling what you are battling.</div><span class=3D"m_805522363=
9913063416HOEnZb"><font color=3D"#888888"><div><br></div><div>-Greg<br></di=
v></font></span></div></div></div><br></blockquote></div></div></div></bloc=
kquote></div><br></div></div>

--000000000000e8f3f7056ea40431--


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