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

"C. Petro" <[email protected]> Thu, 14 Jun 2018 17:22:57 -0600
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CADTo4y9AnO4dfSvJRWDbEBTAFjvYgsxdfOaE5GD0GpZyFefJgQ@mail.gmail.com>
--===============4296190602583958293==
Content-Type: multipart/alternative; boundary="00000000000036b313056ea26126"

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

=E2=80=8BI had a ISO that I built for this client 2 years ago based off REH=
L7.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 because
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 are
in a DMZ, so they're really isolated network wise.

=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 depedencies
>> 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 list=
 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 loo=
king 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
>
> _______________________________________________
> Kickstart-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:x-small">=
=E2=80=8BI had a ISO that I built for this client 2 years ago based off REH=
L7.2 that worked a treat.=C2=A0</div><div class=3D"gmail_default" style=3D"=
font-size:x-small"><br>I was updating it to RHEL 7.5 for some new server bu=
ilds, and fixing some minor issues (some additional packages like Nano, tel=
net and adcli because they&#39;re a windows shop).=C2=A0</div><div class=3D=
"gmail_default" style=3D"font-size:x-small"><br></div><div class=3D"gmail_d=
efault" style=3D"font-size:x-small">&quot;Ideally&quot; I&#39;d do somethin=
g like this out of Cobbler or whatever they&#39;re calling it these days, o=
r do a local package mirror.=C2=A0But they have such a small Linux footprin=
t that it&#39;s not really worth it, And these servers are in a DMZ, so the=
y&#39;re really isolated network wise.=C2=A0</div><div class=3D"gmail_defau=
lt" style=3D"font-size:x-small"><br></div><div class=3D"gmail_default" styl=
e=3D"font-size:x-small">=E2=80=8B<br></div></div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On Thu, Jun 14, 2018 at 4:06 PM, Greg Olive=
r <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"><div dir=3D"ltr"><div><div class=3D"h5">On Thu, Jun 14, 2018 at =
4:50 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></div><div=
 class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div class=3D"h5"><b=
lockquote 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-sma=
ll">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 depedencies t=
hat your %packages section is asking for?=C2=A0</div><div style=3D"font-siz=
e:x-small"><br></div><div style=3D"font-size:x-small">The script I found...=
missed 20 or 30 things.=C2=A0</div></div><div class=3D"m_-53058885188617679=
92HOEnZb"><div class=3D"m_-5305888518861767992h5"><div class=3D"gmail_extra=
"><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"><di=
v dir=3D"ltr"><div style=3D"font-size:x-small">I&#39;ve been trying to buil=
d a custom RHEL7 ISO for installing secure(ish) servers in a DMZ.=C2=A0</di=
v><div style=3D"font-size:x-small"><br></div><div style=3D"font-size:x-smal=
l">Basically I am trying to minimize the packages installed. I had a workin=
g set based on RHEL 7.2, and tried to just copy that package list and use R=
HEL7.5. Of course, dependencies have changed.=C2=A0</div><div style=3D"font=
-size:x-small"><br></div><div style=3D"font-size:x-small">So I tried to add=
:=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"><b=
r></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><div=
><font size=3D"1">So I set:</font></div><div><font size=3D"1">%packages --i=
gnoremissing --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 style=3D"font-family:monospace,monospace" class=3D"gmail_default">=
=E2=80=8BI originally was not going to chime in, but it seems you are looki=
ng for an ISO for installation that has already baked bread and wine.=C2=A0=
 <br></div><div style=3D"font-family:monospace,monospace" class=3D"gmail_de=
fault"><br></div><div style=3D"font-family:monospace,monospace" class=3D"gm=
ail_default"><br></div><div style=3D"font-family:monospace,monospace" class=
=3D"gmail_default">What I do is cp -al the current mirror I have, then rsyn=
c mirror the current repo and add that as a repo in my kickstart file.=C2=
=A0 I know I will always the same exact packages for the duration.=C2=A0 It=
 is really not much data to mirror by today&#39;s standards and you will no=
t have to ever worry about missing packages.. =E2=80=8B</div><div style=3D"=
font-family:monospace,monospace" class=3D"gmail_default"><br></div><div sty=
le=3D"font-family:monospace,monospace" class=3D"gmail_default">Of course, y=
ou did not share any specifics, so no telling what you are battling.</div><=
span class=3D"HOEnZb"><font color=3D"#888888"><div style=3D"font-family:mon=
ospace,monospace" class=3D"gmail_default"><br></div><div style=3D"font-fami=
ly:monospace,monospace" class=3D"gmail_default">-Greg<br></div></font></spa=
n></div></div></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><br></div>

--00000000000036b313056ea26126--


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