>>>>> On Wed, 25 May 2005 16:32:49 +0100, Michael Gellman <[EMAIL PROTECTED]>
>>>>> said:
> That's a good idea, but is there any easy way to get clients to
> automatically load-balance between more than one Debian mirror? Or do
> you have to manually change the sources.list files for the clients you
> wish to use a different mirror?
Prepare two versions of the sources.list files and name them for
eg. MIRROR0 and MIRROR1. Create a hook (for task updatebase) which
uses fcopy for copying one of these files to the new system before
installing sofware packages. Add a small script to /fai/class which
defines the class MIRROR0 or MIRROR1 depending on ip-address modulo 2.
Please, post these little scripts to this mailling list :-)
--
regards Thomas