From 5ff8b0653e3472b3836fde9c690d9cea7993f720 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Nov 2011 11:35:27 +0100 Subject: [PATCH 3/3] basefile archive is missing, when using Quick Start Guide Signed-off-by: Waldemar Brodkorb --- doc/fai-guide.txt | 6 ++++++ examples/simple/class/50-host-classes | 5 ++++- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/doc/fai-guide.txt b/doc/fai-guide.txt index c0618aa..c661497 100644 --- a/doc/fai-guide.txt +++ b/doc/fai-guide.txt @@ -270,6 +270,12 @@ a few minutes. $ cp -a /usr/share/doc/fai-doc/examples/simple/* /srv/fai/config/ ---- +* Create a basefile tar archive for your planned system for the client + +---- +# cd /srv/fai/config/basefiles && ./mk-basefile SQUEEZE64 +---- + * Get the MAC address of your demo host. * Add your host (try to name it 'demohost') to 'dhcpd.conf' and '/etc/hosts' (= your DNS) on the FAI server. diff --git a/examples/simple/class/50-host-classes b/examples/simple/class/50-host-classes index 048194f..4e62dc7 100755 --- a/examples/simple/class/50-host-classes +++ b/examples/simple/class/50-host-classes @@ -7,7 +7,10 @@ case $HOSTNAME in faiserver) echo "FAIBASE DEBIAN DEMO FAISERVER" ;; demohost|client*) - echo "FAIBASE DEBIAN DHCPC DEMO" ;; + echo "FAIBASE DEBIAN DHCPC DEMO" + ifclass I386 && echo SQUEEZE32 + ifclass AMD64 && echo SQUEEZE64 + ;; xfcehost) echo "FAIBASE DEBIAN DHCPC DEMO XORG XFCE";; gnomehost) -- 1.7.4.1