Differences between revisions 21 and 23 (spanning 2 versions)
Revision 21 as of 2016-01-11 19:25:39
Size: 2325
Editor: ?RichardHidalgo
Comment:
Revision 23 as of 2016-03-09 12:52:30
Size: 2538
Editor: ?AndreasMundt
Comment: add debian-lan-chroots
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 
Line 27: Line 27:
aptitude -R install fai-server dialog git apt-get install aptitude # needed for FAI
aptitude install debian-lan-config # might be already installed
aptitude -R install fai-server dialog # no recommends needed
Line 32: Line 34:
cd /tmp/
# git clone --branch squeeze git://git.debian.org/git/collab-maint/debian-lan
# git clone --branch wheezy git://git.debian.org/git/collab-maint/debian-lan
git clone --branch jessie git://git.debian.org/git/collab-maint/debian-lan
cp -r /tmp/debian-lan/fai/config /srv/fai/
cd -
cp -r /usr/share/debian-lan-config/fai/config /srv/fai/
Line 42: Line 39:
export SUDO_FORCE_REMOVE=yes # to switch from sudo to sudo-ldap
Line 44: Line 42:
If anything looks fine, connect the machine to the internal network and reboot. If anything looks fine, connect the machine to the internal network and reboot. As mentioned as login message, you need to run {{{debian-lan-chroots}}} now to create/update the nfsroot for FAI and/or the chroot for diskless clients:
{{{
debian-lan-chroots
}}}
After that, you are ready to install clients or boot the live system.

Translation(s): none


Bootstrapping

The installation of a mainserver is possible in various ways. You can either create your own CD image, download a provided CD image or convert an existing minimal Debian installation. Please report bugs or outdated images to the mailing list.

Create an ISO Image

The pages listed below describe how to get started and prepare a CD to install the faiserver. All other machines are deployed from the faiserver.

Download an ISO Image

If you are short in time, give Debian-LAN a try by using the provided ISO images.

Convert a Minimal Debian Installation

Install a minimal Debian system and the package debian-lan-config. Follow the instructions provided in /usr/share/doc/debian-lan-config/README.Debian on the system.


/!\ This description might be not up to date!

First install a minimal Debian, hostname mainserver, domain name intern. Log into the system and execute:

apt-get install aptitude  # needed for FAI
aptitude install debian-lan-config  # might be already installed
aptitude -R install fai-server dialog  # no recommends needed

Now, put your FAI config space in place:

mkdir /srv/fai/
cp -r /usr/share/debian-lan-config/fai/config /srv/fai/

Modify it if needed and run FAI with the variable CONVERT set to true:

export SUDO_FORCE_REMOVE=yes  # to switch from sudo to sudo-ldap
export CONVERT=true ; fai -vN -s file:///srv/fai/config/ softupdate

If anything looks fine, connect the machine to the internal network and reboot. As mentioned as login message, you need to run debian-lan-chroots now to create/update the nfsroot for FAI and/or the chroot for diskless clients:

debian-lan-chroots

After that, you are ready to install clients or boot the live system.