[Fai-commit] r4447 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Mon Jul 16 16:44:04 UTC 2007


Author: lange
Date: 2007-07-16 16:44:04 +0000 (Mon, 16 Jul 2007)
New Revision: 4447

Modified:
   trunk/bin/fai
   trunk/bin/make-fai-nfsroot
Log:
move creating of subdirs from make-fai-nfsroot to fai (from server to client)


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2007-07-14 10:27:27 UTC (rev 4446)
+++ trunk/bin/fai	2007-07-16 16:44:04 UTC (rev 4447)
@@ -237,6 +237,7 @@
 if [ $do_init_tasks -eq 1 ]; then
     hostname $HOSTNAME
     renewclass=1 # always renew class list when installing
+    mkdir -p /var/lib/discover /var/discover /etc/sysconfig
 fi
 export start_seconds=$(cut -d . -f 1 /proc/uptime)
 

Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2007-07-14 10:27:27 UTC (rev 4446)
+++ trunk/bin/make-fai-nfsroot	2007-07-16 16:44:04 UTC (rev 4447)
@@ -274,15 +274,7 @@
     echo $timezone > etc/timezone 
     rm -f etc/localtime && ln -sf /usr/share/zoneinfo/$timezone etc/localtime
 
-    # make little changes to nfsroot, because nfsroot is
-    # read only for the install clients 
     rm etc/mtab && ln -s /proc/mounts etc/mtab
-    mkdir -p var/lib/discover
-    mkdir -p var/discover
-    mkdir -p etc/sysconfig
-    mkdir -p tmp/etc
-
-#    ln -sf /tmp/etc/resolv.conf etc/resolv.conf
     ln -s /usr/sbin/fai etc/init.d/rcS
     # for nis
 #    [ -d var/yp ] && ln -s /tmp/binding var/yp/binding




More information about the Fai-commit mailing list