From: hackbard <hackbard>
Date: Thu, 11 Aug 2005 23:12:59 +0000 (+0000)
Subject: fai fixes
X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=d63fa093f9748fd16fedaaf99b27c2d74b17bfb8;p=hdw-linux%2Fhdw-linux.git

fai fixes
---

diff --git a/doc/FAI b/doc/FAI
index bbceab0..7ad39ab 100644
--- a/doc/FAI
+++ b/doc/FAI
@@ -32,7 +32,12 @@ procedure
 
 		where <nfsroot> is the directory to install the fairoot.
 
-	2) edit the following files to match your needs, and restart services
+	2) adapt the hdw-get.conf file in the fai nfsroot tree
+
+	note: again you might want to use a mirror. edit hdw-get.conf, but make
+	      sure it is the one from fairoot.
+
+	3) edit the following files to match your needs, and restart services
 
 		/etc/dhcpd.conf
 		/etc/inetd.conf
@@ -41,12 +46,9 @@ procedure
 
 		(have a look at chapter "fai server configuration")
 
-	note: again you might want to use a mirror. edit hdw-get.conf, but make
-	      sure it is the one from fairoot.
-
-	3) adapt configs in ./fai (see chapter "fai config files")
+	4) adapt configs in ./fai (see chapter "fai config files")
 
-	4) pxeboot your install candidates. this is actually not fully
+	5) pxeboot your install candidates. this is actually not fully
 	   automated. have a look athe bootdisk section if your client does
 	   not support pxeboot.
 
@@ -56,7 +58,7 @@ procedure
 		  (after using cfdisk, sync to disk file!)
 		- reboot and finaly wathc your target system to get hdw'ed :)
 
-	5) optional: login, build a new kernel or do other modifications.
+	6) optional: login, build a new kernel or do other modifications.
 
 
 fai config files
diff --git a/scripts/Create-FAI b/scripts/Create-FAI
index 36e4996..b013db4 100755
--- a/scripts/Create-FAI
+++ b/scripts/Create-FAI
@@ -67,6 +67,7 @@ if [ ! -f ./fai/nfsroot-packages ] ; then
 	done
 	echo "adding needed packages to list now"
 	echo "portmap" >> ./fai/nfsroot-packages
+	echo "tcp_wrappers" >> ./fai/nfsroot-packages
 	[ "$hdw_arch" = "ia32" ] && echo "lilo" >> ./fai/nfsroot-packages
 fi
 
@@ -148,6 +149,7 @@ echo "2) link the ipaddr in hex of the client to fai in pxe config dir"
 echo "3) tell your dhcpd (see syslinux docs for more help)"
 echo "4) make sure inetd/nfs/dhcpd are up running"
 echo "5) do the configuration stuff (see doc/FAI)"
+echo "6) adapt the hdw-get.conf file in the fai nfsroot tree"
 echo
 echo "note: tftp must support tsize option (use e.g. tftp-hpa package)"
 echo