some more FAI stuff
authorhackbard <hackbard>
Mon, 2 Aug 2004 09:37:47 +0000 (09:37 +0000)
committerhackbard <hackbard>
Mon, 2 Aug 2004 09:37:47 +0000 (09:37 +0000)
doc/FAI
scripts/Create-FAI

diff --git a/doc/FAI b/doc/FAI
index 9f65bcf..2cbfa00 100644 (file)
--- a/doc/FAI
+++ b/doc/FAI
@@ -1,6 +1,5 @@
 # hdw - linux FAI file
 
-
 whats this?
 -----------
 explains how to setup a networked computer acting as dhcp/pxeboot/nfsroot fully
@@ -13,8 +12,6 @@ files:
 ./scripts/Create-FAI
 ./doc/FAI
 
-[not finished yet]
-
 procedure
 ---------
 
@@ -32,4 +29,28 @@ procedure
                ./misc/hdw-tools/hdw-get dist-install /mnt/fai-root \
                        ./distro/default
 
-       [to be continued]
+       2) prepare nfsroot & mount ./fai dir via loopback for configurations
+
+               ./scripts/Create-FAI /mnt/fai-root
+
+       4) adapt configs in ./fai (see chapter "fai config files")
+
+       3) edit the following files to match your needs, and restart services
+
+               /etc/dhcpd.conf
+               /etc/inetd.conf
+               /etc/exports
+               /tftpboot/pxelinux.cfg/{default,*}
+
+               (have a look at chapter "fai server configuration")
+
+       4) pxeboot your install candidates and watch installation
+
+
+fai config files
+----------------
+
+fai server configuration
+------------------------
+
+[to be continued]
index 36ad9fe..cc3e6e6 100755 (executable)
@@ -5,6 +5,18 @@
 # script creating a minimal system nfsroot for automated installation of hdw
 #
 
-echo "not supported yet"
-echo "i'm sorry"
+fairoot="$1"
 
+usage()        {
+       echo
+       echo "usage:"
+       echo "$1 <fai-root>"
+       echo
+       exit
+       }
+
+if [ ! -d $fairoot -o ] ; then
+       usage
+fi
+
+echo "preparing