From: Sapan Bhatia Date: Tue, 1 Apr 2014 04:08:04 +0000 (-0400) Subject: Ignore vservers partition X-Git-Tag: bootmanager-5.2-5~1^2~10 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=e7969a93988c170c599548a71da3ccc4954d2746 Ignore vservers partition --- diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index d8030e6..6ea6213 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -191,7 +191,9 @@ def Run( vars, log ): BootAPI.save(vars) log.write( "Unmounting disks.\n" ) - utils.sysexec( "umount %s/vservers" % SYSIMG_PATH, log ) + + if (vars['ONE_PARTITION']!='1'): + utils.sysexec( "umount %s/vservers" % SYSIMG_PATH, log ) utils.sysexec( "umount %s/proc" % SYSIMG_PATH, log ) utils.sysexec_noerr( "umount %s/dev" % SYSIMG_PATH, log ) utils.sysexec_noerr( "umount %s/sys" % SYSIMG_PATH, log )