git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fc00463
)
Ignore vservers partition
author
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 1 Apr 2014 04:08:04 +0000
(
00:08
-0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 1 Apr 2014 04:08:04 +0000
(
00:08
-0400)
source/steps/ChainBootNode.py
patch
|
blob
|
history
diff --git
a/source/steps/ChainBootNode.py
b/source/steps/ChainBootNode.py
index
d8030e6
..
6ea6213
100644
(file)
--- 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 )