From: Daniel Hokka Zakrisson Date: Tue, 14 Dec 2010 20:55:04 +0000 (-0500) Subject: Force vgremove so it's automatic. X-Git-Tag: bootmanager-4.3-19~2 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=c2e73a0cf0a4cf3898014924cff6bb3563691fac Force vgremove so it's automatic. --- diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index a8e3cb8..81d100d 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -80,7 +80,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 )