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

Greg Oliver <[email protected]> Thu, 14 Jun 2018 17:06:17 -0500
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CAF4tN+8cQrRgVRwbLKNesdduQEcuw_arfeTtrDH493B4CbQEVQ@mail.gmail.com>
--===============8025711974448832984==
Content-Type: multipart/alternative; boundary="00000000000009db61056ea14f9a"

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

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 workin=
g
>> 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 looki=
ng 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

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

<div dir=3D"ltr">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 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">Oh, and also does anyone know a good way to check to make sure th=
at the contents of your isolinux/Package directory contains all the depeden=
cies that your %packages section is asking for?=C2=A0</div><div style=3D"fo=
nt-size:x-small"><br></div><div style=3D"font-size:x-small">The script I fo=
und...missed 20 or 30 things.=C2=A0</div></div><div class=3D"HOEnZb"><div c=
lass=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Th=
u, Jun 14, 2018 at 9:17 AM, C. Petro <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:[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 style=3D"font-size:=
x-small">I&#39;ve been trying to build a custom RHEL7 ISO for installing se=
cure(ish) servers in a DMZ.=C2=A0</div><div style=3D"font-size:x-small"><br=
></div><div style=3D"font-size:x-small">Basically I am trying to minimize t=
he 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 c=
hanged.=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</fo=
nt><br></div><div><font size=3D"1"><br></font></div><div><font size=3D"1">W=
hich 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></di=
v><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><di=
v>:wq</div></div>
</blockquote></div></div></div></div></blockquote><div><br></div><div style=
=3D"font-family:monospace,monospace" class=3D"gmail_default">=E2=80=8BI ori=
ginally was not going to chime in, but it seems you are looking for an ISO =
for installation that has already baked bread and wine.=C2=A0 <br></div><di=
v style=3D"font-family:monospace,monospace" class=3D"gmail_default"><br></d=
iv><div style=3D"font-family:monospace,monospace" class=3D"gmail_default"><=
br></div><div style=3D"font-family:monospace,monospace" class=3D"gmail_defa=
ult">What I do is cp -al the current mirror I have, then rsync mirror the c=
urrent repo and add that as a repo in my kickstart file.=C2=A0 I know I wil=
l always the same exact packages for the duration.=C2=A0 It is really not m=
uch data to mirror by today&#39;s standards and you will not have to ever w=
orry about missing packages.. =E2=80=8B</div><div style=3D"font-family:mono=
space,monospace" class=3D"gmail_default"><br></div><div style=3D"font-famil=
y:monospace,monospace" class=3D"gmail_default">Of course, you did not share=
 any specifics, so no telling what you are battling.</div><div style=3D"fon=
t-family:monospace,monospace" class=3D"gmail_default"><br></div><div style=
=3D"font-family:monospace,monospace" class=3D"gmail_default">-Greg<br></div=
></div></div></div>

--00000000000009db61056ea14f9a--


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