- merge revision 1.6
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 7 Jul 2006 18:50:14 +0000 (18:50 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 7 Jul 2006 18:50:14 +0000 (18:50 +0000)
date: 2006/07/07 18:48:46;  author: mlhuang;  state: Exp;  lines: +1 -1
- pass -ff to pvcreate to avoid warning about not being able to
  re-create a physical volume on an existing disk

source/steps/InstallPartitionDisks.py

index 9f7d4c7..fcece53 100644 (file)
@@ -307,7 +307,7 @@ def create_lvm_physical_volume( part_path, vars, log ):
         ### patch Thierry Parmentelat, required on some hardware
         import time
         time.sleep(1)
-        utils.sysexec( "pvcreate -fy %s" % part_path, log )
+        utils.sysexec( "pvcreate -ffy %s" % part_path, log )
     except BootManagerException, e:
         log.write( "create_lvm_physical_volume failed.\n" )
         return 0