TODO list:

- test rsync option --whole-file (should speed up by 10!)
- One subdir of /etc/replicator per classe
- Doc : lilo-template.
- use mount -n to avoid writing in the /etc/mtab (so that the miniroot can be used by multiple targets)


not urgent /wishes :

- add :

#SIMPLEST WAY TO DO: if the hardrive of the copy is 100% identical
#to the hardrive of the model and you want the same partition scheme:
#$same_hd_and_part=1 : use sfdisk -d on the model on the root disk.
#then feed sfdisk with this dump during install
#

- DONE : add support for initrd (needed for kernel 2.4.5)
  make a template for lilo. By default it contains serial entry. it should
be possible to take the lilo.conf of the model as a template

- add support for PXE
- use a "replicator" list for debootstrap OR get rid of debootstrap (use
  local installed package)
- create repli-kernel that compile the correct kernel for boottime.
- move the save_kbd function from repli-dialog to repli-install
- change cmdline parameter handling of repli-install
- add umount -a at the beginning of repli-dialog?
- turn exec("cp *") into docopy with globs
- put dialog message during repli-update
- rsyncd: add random login/password (stored in the miniroot)
- allow to choose grub or lilo to put on the HD
- preserve public/private keys in case of reinstallation
- repli-sync:
  * if  $noboot=0 the kernel is reinstall so rerun lilo/grub/bootloader
    and proposed reboot.
- classes mechanism
- ?? add hostbyname + tftpboot + preserve_firstpart variables
- ?? frontend for replicator.conf
- autodetect a change in configuration???

questions: 

- shall we copy the whole  /var/lib? Shall we recreate only the  directory stucture of /var??

plan for very fast multi-install:

-tree install (model->c1 then simultaneously c1->c2 an model->c3):
 
 for 100% similar machines the fastest way is to use  dhcp targets:

model->c1

 on model create bootdisk b_model

 we can afford copying the fstab + the lilo.conf ($keep_lilo_fstab=1)
 change the update_rules:
 
                    *the miniroot 
		    */etc/replicator
		    */etc/exports
 
 install c1 with b_model
 
 then after rebooting c1, run on c1:  repli-miniroot -u 
                                   
 go on c2, boot it with b_model : you make model->c2
 
 go on c3, boot it with b_model BUT edit the commandline to pur b1 as
 nfsroot server: the you make c1->c3

 nxt you'll make: model->c4 c1->c6 c2->c7 c3->c8

----------

verbosity :

 -explain why getting 127.0.0.1 is bad
