[Fai-commit] r6605 - trunk/bin
Thomas Lange
lange at alioth.debian.org
Wed Jul 20 09:51:38 UTC 2011
Author: lange
Date: 2011-07-20 09:51:38 +0000 (Wed, 20 Jul 2011)
New Revision: 6605
Modified:
trunk/bin/make-fai-nfsroot
Log:
stop mdadm from calling mkconf
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2011-07-20 09:42:31 UTC (rev 6604)
+++ trunk/bin/make-fai-nfsroot 2011-07-20 09:51:38 UTC (rev 6605)
@@ -373,7 +373,7 @@
find etc/init ! -type d | egrep -v "fai|udev|hostname|mountall|mounted" | xargs -r rm
fi
- rm -f etc/mdadm/mdadm.conf # remove file which contains info of the install server
+ rm -f etc/mdadm/mdadm.conf # remove file which may contain info of the install server
# this second rm of the same file is needed!
rm -f etc/udev/rules.d/70-persistent-net.rules
# remove Ubuntu-specific rules to auto-start volume groups, which confuses
@@ -403,6 +403,7 @@
mount -t sysfs /sys $NFSROOT/sys
mount -t devpts devpts $NFSROOT/dev/pts
/usr/lib/fai/mkramdisk $NFSROOT/var/lib/dpkg
+ mkdir $NFSROOT/etc/mdadm; touch $NFSROOT/etc/mdadm/mdadm.conf # stop mdadm from calling mkconf
$ROOTCMD apt-get update
$ROOTCMD aptitude -Rfy install fai-nfsroot
More information about the Fai-commit
mailing list