]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
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 9f65bcf3b74bfbba5c95cc30b0d046925f102f00..2cbfa0065b3190ca9c6d2005b41e3995d6195ad4 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 36ad9fe04d9f89387562fa831a6d8acd85b85ca9..cc3e6e6b71c5d64181d8fd1203600bf6c556a126 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