several source.list
bblack at superiorbroadband.com
bblack at superiorbroadband.com
Mon Jun 3 23:25:38 CEST 2002
On Mon, Jun 03, 2002 at 06:41:38PM +0200, Didier Richard wrote:
> I install several kinds of machine (workstation, server,...) and I need
> several source.list (because sometimes we use our mirror with our packages)
> The official way is to edit the /etc/fai/fai.conf and create a new
> fai-boot-floppy.
> Practically each time I install a computer, I directly edit the
> source.list in the directory : "/usr/lib/fai/nfsroot/etc/apt/"
> Does anyone have an idea how to do that using classes or scripts ? (if it is
> possible)
-----hooks/instsoft.DEFAULT----
#!/bin/sh
fcopy /etc/apt/sources.list
---EOF--
Should work.
Not sure why you would have more than one sources.list though.
Bob Black
More information about the linux-fai
mailing list