documentation proposals and bugfix proposal

Ronan KERYELL Ronan.Keryell at enst-bretagne.fr
Fri Aug 30 18:54:34 CEST 2002


>>>>> On Fri, 30 Aug 2002 14:20:00 +0200 (MEST), Henning Sprang <henning_sprang at gmx.net> said:

    Henning> 2) This is mentioned as a side comment in the troubleshooting
    Henning> section of the install guide already, but i think it would be
    Henning> better included in the install steps, which would have spared
    Henning> me some reboots and tries:

    Henning> To make the fai nfsroot bootable, one needs to have entries
    Henning> in /etc/exports for the install clients to be allowed to
    Henning> mount /usr/lib/fai/nfsroot and /usr/local/share/fai.
    Henning> Fai-setup writes entries there which assume that a fai-client
    Henning> belongs to the nis group faiclients, but when you neither
    Henning> have that group, nor the fai client belongs to it, nor you
    Henning> have nis anyway, this is really not a bit useful, so it would
    Henning> make fai more usable, even for beginners, if this was a
    Henning> explained in the install steps in a few words.

Yes... This is why in fact I use a shell+perl script to build the FAI
infrastructure from a conf file that looks like :

#	$Id: config,v 1.20 2002/08/29 12:43:45 guiduc Exp $
#H Commentaire pour hosts

r1=route add -net 192.168.70.0 netmask 255.255.255.0
r2=route add default gw 172.16.19.2
r3=route add -net 172.16.0.0 netmask 255.255.0.0
r4=route add default gw 192.168.70.32
r5=route add default gw 193.50.97.254
r6=route add default gw 193.50.97.145

#H La machine en salle RéActiVE :
:reactived1:eth0
route  salle_reactive
	eth0 192.168.70.12 24 00:01:02:E3:64:4C

#H le I10 *********************************************************
#H	eth0 -> Resel
#H	eth1 -> I1
#H	eth2 -> I11
:reactive10:eth1
# Mis a jour 28/08/02
	eth0 172.16.70.10 16 00:05:5D:E6:19:A9
		route add default gw 172.16.19.2
	eth1 172.16.70.34 27 00:05:5D:E6:19:AA
		route add -net 172.16.70.96 netmask 255.255.255.224 gw 172.16.70.33 metric 2	
		route add -net 172.16.70.0  netmask 255.255.255.0   gw 172.16.70.33 metric 1
		route add -net 192.168.70.0 netmask 255.255.255.0   gw 172.16.70.33 metric 1
	eth2 172.16.70.97 27 00:05:5D:E6:19:AB
		route add -net 172.16.70.32 netmask 255.255.255.224 gw 172.16.70.98 metric 2
		route add -net 172.16.70.0  netmask 255.255.255.0   gw 172.16.70.98 metric 2
		route add -net 192.168.70.0 netmask 255.255.255.0   gw 172.16.70.98 metric 2

#H le I11 *********************************************************
#H	eth0 -> I10
#H	eth1 -> I1
#H	eth2 -> Resel

# Mis a jour 28/08/02

:reactive11:eth1
	eth0 172.16.70.98 	27 	00:05:5D:E6:18:BD
		route add -net 172.16.70.64 netmask 255.255.255.224 gw 172.16.70.97 metric 2
		route add -net 172.16.70.0  netmask 255.255.255.0   gw 172.16.70.97 metric 2
		route add -net 192.168.70.0 netmask 255.255.255.0   gw 172.16.70.97 metric 2

	eth1 172.16.70.66 	27 	00:05:5D:E6:18:BE
		route add -net 172.16.70.96 netmask 255.255.255.224 gw 172.16.70.65 metric 2
		route add -net 172.16.70.0  netmask 255.255.255.0   gw 172.16.70.65 metric 1
		route add -net 192.168.70.0 netmask 255.255.255.0   gw 172.16.70.65 metric 1

	eth2 172.16.70.11 	16 	00:05:5D:E6:18:BF
		route add default gw 172.16.19.2

...


I need only to type update-config and all the files needed for booting
are configured.

I'm thinking about to replace the config file by a Python executable file
that will able to build up the FAI conf more abstractly and concisely.
-- 
    Ronan KERYELL              |\/
    Labo Informatique Télécom  |/)  Tel:    (+33|0) 2.29.00.14.15
    ENST Bretagne, BP832       K    Fax:    (+33|0) 2.29.00.12.82
    29285 PLOUZANE CEDEX       |\   E-mail: Ronan.Keryell at enst-bretagne.fr
    FRANCE                     | \  http://www-info.enst-bretagne.fr/~keryell



More information about the linux-fai mailing list