[Fai-commit] r4030 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Tue Sep 26 16:38:25 UTC 2006


Author: lange
Date: 2006-09-26 16:38:24 +0000 (Tue, 26 Sep 2006)
New Revision: 4030

Modified:
   trunk/bin/fai-setup
Log:
add option no_subtree_check to etc/exports lines


Modified: trunk/bin/fai-setup
===================================================================
--- trunk/bin/fai-setup	2006-09-26 13:14:43 UTC (rev 4029)
+++ trunk/bin/fai-setup	2006-09-26 16:38:24 UTC (rev 4030)
@@ -158,8 +158,8 @@
 
     addr=$(LC_ALL=C ifconfig $SERVERINTERFACE | grep -v 127.0.0.1 | perl -ne '/addr:([\d.]+)/ && print"$1\n"'|head -1)
     mask=$(LC_ALL=C ifconfig $SERVERINTERFACE | grep -v 127.0.0.1 | perl -ne '/Mask:([\d.]+)/ && print"$1\n"'|head -1)
-    add_export_line $FAI_CONFIGDIR  "$addr/$mask(async,ro)"
-    add_export_line $NFSROOT  "$addr/$mask(async,ro,no_root_squash)"
+    add_export_line $FAI_CONFIGDIR  "$addr/$mask(async,ro,no_subtree_check)"
+    add_export_line $NFSROOT  "$addr/$mask(async,ro,no_subtree_check,no_root_squash)"
     if [ -z "$nfsserver" ]; then
 	echo "Could not find the type of your nfs server. Maybe"
 	echo "no nfs server is installed. I can't restart it."




More information about the Fai-commit mailing list