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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



​I had a ISO that I built for this client 2 years ago based off REHL7.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. 



On Thu, Jun 14, 2018 at 4:06 PM, Greg Oliver <oliver.greg@xxxxxxxxx> wrote:
On Thu, Jun 14, 2018 at 4:50 PM, C. Petro <petro@xxxxxxxxx> 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 <petro@xxxxxxxxx> 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=2 --timeout=2

And got no behavior change. 

What am I missing here? 


Regards,
Petro.
:wq

​I originally was not going to chime in, but it seems you are looking 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.. ​

Of course, you did not share any specifics, so no telling what you are battling.

-Greg

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux