The Debian Package debian-lan-config ==================================== This package contains the FAI config space for the Debian-LAN system. Details about Debian-LAN and verbose instructions are available in the Debian wiki at . There are two ways available to install the Debian-LAN mainserver: - prepare a CD image and install from that image or - install a minimal Debian and convert that installation Choose the method appropriate for your situation. Creating a CD image with fai-cd ------------------------------- Create the CD image in the following way: aptitude install debian-lan-config # might be already installed aptitude -R install fai-server genisoimage # no recommends needed mkdir /srv/fai/ cp -r /usr/share/debian-lan-config/fai/config /srv/fai/ cp /srv/fai/config/files/etc/fai/grub.cfg/SERVER_A /etc/fai/grub.cfg cp /srv/fai/config/files/etc/fai/NFSROOT/FAISERVER /etc/fai/NFSROOT sed -i "s/^deb.*fai-project/\#&/" /etc/fai/apt/sources.list Adapt the config space to your needs if necessary and create the FAI nfsroot: fai-make-nfsroot -v -l Now create a fake Debian mirror needed to satisfy fai-cd. The CD image is then created by fai-cd: mkdir -p /tmp/debmirror/dists/fake/main/binary-i386/ touch /tmp/debmirror/dists/fake/main/binary-i386/Packages fai-cd -m /tmp/debmirror/ fai-cd.iso Converting a minimal Debian Installation ---------------------------------------- Install a minimal Debian (only the core system) on the server. Choose 'mainserver' as hostname. Prepare appropriate partitions, examples are available in /usr/share/debian-lan-config/fai/config/disk_config/. Then convert the installation with the following commands: aptitude install debian-lan-config # might be already installed aptitude -R install fai-server dialog # no recommends needed mkdir /srv/fai/ cp -r /usr/share/debian-lan-config/fai/config /srv/fai/ Adapt the config space to your needs if necessary and run FAI with the variable CONVERT set to true: export CONVERT=true ; fai -vN -s file:///srv/fai/config/ softupdate -- Andreas B. Mundt Wed, 30 Jan 2013 18:50:03 +0100