[Fai-commit] r6396 - trunk/bin

Michael Tautschnig mt at alioth.debian.org
Fri Apr 15 12:24:58 UTC 2011


Author: mt
Date: 2011-04-15 12:24:51 +0000 (Fri, 15 Apr 2011)
New Revision: 6396

Modified:
   trunk/bin/make-fai-nfsroot
Log:
make-fai-nfsroot: Remove Ubuntu-specific lib/udev/rules.d/85-lvm2.rules to avoid LVM auto-start

Automatically starting volumes as they become available will confuse
setup-storage, which might subsequently remove such partitions.


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2011-04-15 12:22:08 UTC (rev 6395)
+++ trunk/bin/make-fai-nfsroot	2011-04-15 12:24:51 UTC (rev 6396)
@@ -357,6 +357,9 @@
     rm -f etc/mdadm/mdadm.conf # remove file which contains 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
+    # setup-storage
+    rm -f lib/udev/rules.d/85-lvm2.rules
     # definition for loopback device
     echo "iface lo inet loopback" > etc/network/interfaces
 




More information about the Fai-commit mailing list