Package: fai-client
Version: 4.0~beta2+experimental26

Hi,

currently FAI uses a fixed/hard-coded location for the base tarball.
This is unfortunate in multi-distribution or multi-arch setups for example.
Currently such setups involve duplication of the fai configuration
directory and the nfsroot, which shouldn't be neccessary (at least
not in all cases).

So I suggest to add support for new variable FAI_BASEFILE:
This should be as simple as changing task_extrbase in /usr/lib/fai/subroutines.
Instead of using a hard-coded local basefile and extracting it, if it exists,
and using debootstrap otherwise do something like this:

- Check if FAI_BASEFILE is defined. In this case check weither it exists
  and if yes, use it as basefile. If it is defined but the tarball does
  not exist print a warning to STDERR.
- If basefile exists extract it to /target
- If basefile does not exist call debootstrap

Regards,
Patrick



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to