[Fai-commit] r6692 - trunk/bin

Thomas Lange lange at alioth.debian.org
Tue Oct 18 15:31:20 UTC 2011


Author: lange
Date: 2011-10-18 15:31:20 +0000 (Tue, 18 Oct 2011)
New Revision: 6692

Modified:
   trunk/bin/make-fai-nfsroot
Log:
do not copy fai files into the nfsroot


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2011-10-18 15:07:15 UTC (rev 6691)
+++ trunk/bin/make-fai-nfsroot	2011-10-18 15:31:20 UTC (rev 6692)
@@ -202,6 +202,10 @@
 
     # copy to nfsroot
     $ROOTCMD usermod -p "$FAI_ROOTPW" root
+    mkdir $NFSROOT/etc/fai # create empty directory
+    return # do not copy fai files at all
+
+ 
     cp -RLpv $cfdir/* $NFSROOT/etc/fai
     # append additional variables to fai.conf for the install clients
     [ -z "$FAI_CONFIG_SRC" ] && echo "FAI_CONFIG_SRC=nfs://`hostname`$FAI_CONFIGDIR" >> $NFSROOT/etc/fai/fai.conf




More information about the Fai-commit mailing list