[Fai-commit] r4327 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Tue Jun 12 21:48:10 UTC 2007
Author: lange
Date: 2007-06-12 21:48:10 +0000 (Tue, 12 Jun 2007)
New Revision: 4327
Modified:
trunk/bin/fai-cd
Log:
bug fix, create directory after mounting the NFSROOT
Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd 2007-06-12 21:34:04 UTC (rev 4326)
+++ trunk/bin/fai-cd 2007-06-12 21:48:10 UTC (rev 4327)
@@ -124,9 +124,9 @@
echo "Mounting all needed parts"
- mkdir -p $nfsrootdir/media/mirror
+ mount --bind $NFSROOT $nfsrootdir
+ mkdir -p $nfsrootdir/media/mirror || true
- mount --bind $NFSROOT $nfsrootdir
> $nfsrootdir/etc/RUNNING_FROM_FAICD
mount --bind $FAI_CONFIGDIR $nfsrootdir/$FAI && echo "Config space $FAI_CONFIGDIR mounted"
mount --bind $mirrordir $nfsrootdir/media/mirror && echo "Mirror $mirrordir mounted"
More information about the Fai-commit
mailing list