From: Daniel Hokka Zakrisson Date: Tue, 14 Dec 2010 20:53:13 +0000 (-0500) Subject: Force vgremove so it's automatic. X-Git-Tag: bootmanager-5.0-16~21 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=bf4d3de01db6a219169a61ce436c2096feb0a7ad Force vgremove so it's automatic. --- diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index 2a7c2a2..5d8b5b6 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -83,7 +83,7 @@ def Run( vars, log ): utils.sysexec_noerr( "lvremove -f %s" % PARTITIONS["swap"], log ) utils.sysexec_noerr( "lvremove -f %s" % PARTITIONS["vservers"], log ) utils.sysexec_noerr( "vgchange -an", log ) - utils.sysexec_noerr( "vgremove planetlab", log ) + utils.sysexec_noerr( "vgremove -f planetlab", log ) log.write( "Running vgscan for devices\n" ) utils.sysexec_noerr( "vgscan", log )