Aufbau einer Testumgebung mit FAI

Alles in Virtualbox

1 Installation eines minimalen Debian in einer Virtualbox

2 Installation und Konfiguration eines FAI-Servers

Nach Anleitung Quickstart - For the impatient user

http://www.informatik.uni-koeln.de/fai/fai-guide/ar01s02.html

LOGUSER=fai

FAI_CONFIG_SRC=nfs://fai-master$FAI_CONFIGDIR

NFSROOT_ETC_HOSTS="192.168.1.250 fai-master"

FAI_DEBOOTSTRAP="lenny http://192.168.200.54/debian/"

#Defaults for tftpd-hpa geändert:
#RUN_DAEMON="no"
RUN_DAEMON="yes"
#OPTIONS="-l -s /var/lib/tftpboot"
OPTIONS="-l -s /srv/tftp/fai"

Eintragen:

192.168.1.100   fai-client.gramlich.localnet    fai-client demohost
192.168.1.250   fai-master.gramlich.localnet    fai-master

 iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -o eth0 -j MASQUERADE

Installation eines Fai-Clients via PXE

host demohost {
     hardware ethernet  08:00:27:3e:09:4e;
     fixed-address demohost;
}

und demohost ist schon mit ip in der /etc/hosts

# /etc/init.d/nfs-kernel-server reload


Alle Inhalte in diesem Wiki stehen unter der Creative Commons SA 4.0 DE Lizenz