From: Mark Huang Date: Fri, 7 Jul 2006 18:48:46 +0000 (+0000) Subject: - pass -ff to pvcreate to avoid warning about not being able to X-Git-Tag: planetlab-4_0-rc1~38 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=beecc436c7775bb49a332e837043aaa8bfe3e88a - pass -ff to pvcreate to avoid warning about not being able to re-create a physical volume on an existing disk --- diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index 9f7d4c7..fcece53 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -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