Short circuit dracut?

Justin Cattle j at ocado.com
Tue Jul 2 09:12:43 CEST 2019


If you're using PXELINUX to boot, you can use the ipappend option like this
in your pxe config:

ipappend 2

That will make it add this to the kernel comandline for the device it pxe'd
from:

BOOTIF=<hardware-address-of-boot-interface>

So dracut _should_ only use that interface and ignore the others.


If that's not working for you for some reason, another approach would be to
just change the timeouts.
This one is 60 seconds by default:

rd.net.timeout.iflink=10

..or even less if that will still work for the interface you do want
configured :)



Cheers,
Just


On Tue, 2 Jul 2019 at 07:29, Andrew Ruthven <andrew at etc.gen.nz> wrote:

> Hey,
>
> I think this has been asked before (possibly by me), but is it possible
> to short circuit dracut so it stops processing interfaces as soon as it
> has a successful DHCP responses?
>
> I'm doing some test builds on a machine with 10 interfaces and dracut
> takes 60 seconds to timeout on each interface...
>
> Cheers,
> Andrew
> --
> Andrew Ruthven, Wellington, New Zealand
> andrew at etc.gen.nz              | linux.conf.au 2020, Gold Coast, AU
> Catalyst Cloud:                |    https://lca2020.linux.org.au/
>    https://catalystcloud.nz    |
>

-- 


Notice:  This email is confidential and may contain copyright material of 
members of the Ocado Group. Opinions and views expressed in this message 
may not necessarily reflect the opinions and views of the members of the 
Ocado Group. 

 

If you are not the intended recipient, please notify us 
immediately and delete all copies of this message. Please note that it is 
your responsibility to scan this message for viruses. 

 

Fetch and Sizzle 
are trading names of Speciality Stores Limited and Fabled is a trading name 
of Marie Claire Beauty Limited, both members of the Ocado Group.

 


References to the “Ocado Group” are to Ocado Group plc (registered in 
England and Wales with number 7098618) and its subsidiary undertakings (as 
that expression is defined in the Companies Act 2006) from time to time.  
The registered office of Ocado Group plc is Buildings One & Two, Trident 
Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20190702/807682f7/attachment.html>


More information about the linux-fai mailing list