[Fai-commit] r4011 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Sun Sep 24 20:45:10 UTC 2006


Author: lange
Date: 2006-09-24 20:45:08 +0000 (Sun, 24 Sep 2006)
New Revision: 4011

Modified:
   trunk/bin/make-fai-nfsroot
Log:
fix syntax error


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2006-09-24 19:03:31 UTC (rev 4010)
+++ trunk/bin/make-fai-nfsroot	2006-09-24 20:45:08 UTC (rev 4011)
@@ -236,8 +236,8 @@
     [ -d $NFSROOT/var/state ] || mkdir $NFSROOT/var/state
     cp -a $cfdir/apt $NFSROOT/etc
 
-    ainsl "127.0.0.1 localhost" >> etc/hosts
-    ainsl "$NFSROOT_ETC_HOSTS" >> etc/hosts
+    ainsl $NFSROOT/etc/hosts "127.0.0.1 localhost"
+    ainsl $NFSROOT/etc/hosts "$NFSROOT_ETC_HOSTS"
     add_all_host_entries
 
     # we need these option before installing the first package. So we




More information about the Fai-commit mailing list