Hi Thomas, > OK, I guess I know the problem. In the past fai.conf was copied from > /etc/fai into the nfsroot and used during installation. This is not > done any more by default. > > You should define most variables in your config space in class/*.var. I can confirm that this solves my problem. But it seems I still need these variables in fai.conf as well. If I remove them from fai.conf fai-setup -f fails with a strange error complaining about a missing Package file on my mirror while Package.gz and Package.bz are where they should be (cf. attached file). So it seems this does not follow the DRY principle.
It might be good idea to mention in the fai.conf man page that these variables should go into the config space as well. I have no idea what happens if the variables have different values in fai.conf and the config space. Thank you very much! Martin P.S.: BTW, the same probably applies to other variables (like FAI_ROOTPW) as well. -- Martin Konrad Control System Engineer Facility for Rare Isotope Beams Michigan State University 640 South Shaw Lane East Lansing, MI 48824-1321, USA Tel. 517-908-7253 Email: [email protected]
Creating FAI nfsroot in /srv/fai/nfsroot Creating base system using debootstrap version 1.0.48+deb7u1 Calling debootstrap --exclude=info wheezy /srv/fai/nfsroot file:/mnt/mirror Creating base.tar.xz ainsl: appending to /srv/fai/nfsroot/etc/hosts: 192.168.1.2 debianfai.example.com W: Failed to fetch file:/mnt/mirror/dists/wheezy/main/binary-amd64/Packages File not found W: Failed to fetch file:/mnt/mirror/dists/wheezy/contrib/binary-amd64/Packages File not found W: Failed to fetch file:/mnt/mirror/dists/wheezy/non-free/binary-amd64/Packages File not found E: Some index files failed to download. They have been ignored, or old ones used instead. Log file written to /var/log/fai/fai-make-nfsroot.log
