[PATCH] patch to speed up bootpc queries

Thomas Lange lange at informatik.Uni-Koeln.DE
Thu Jan 3 16:28:49 CET 2002


>>>>> On Thu, 3 Jan 2002 16:11:23 +0100 (CET), Phil <pbi at cartel-info.fr> said:

    > Hi, When rcS_fai tries to get bootp parameters, it does a query
    > on every interface the machine has. This can take a lot of time
    > for nothing.

This could be made much simpler. If the variable $netdevices is
defined, then only this list of interfaces is used and not all
available ethernet devices. Define this variable in /etc/fai.conf (the
next fai version will use /etc/fai/fai.conf) and rebuild the nfsroot
or copy trhis file to $NFSROOT/etc/fai.conf. Here's an example

/etc/fai.conf:
netdevices=eth0

-- 
 Thomas



More information about the linux-fai mailing list