git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce new variable: ONE_PARTITION for indicating single-partition installations
[bootmanager.git]
/
source
/
steps
/
ValidateNodeInstall.py
diff --git
a/source/steps/ValidateNodeInstall.py
b/source/steps/ValidateNodeInstall.py
index
ea64a29
..
bd42f00
100644
(file)
--- a/
source/steps/ValidateNodeInstall.py
+++ b/
source/steps/ValidateNodeInstall.py
@@
-126,8
+126,8
@@
def Run( vars, log ):
return -2
-
- one_partition = (ROOT_SIZE == "-1")
+ one_partition = vars['ONE_PARTITION']=='1'
+
if (not one_partition):
try:
VSERVERS_PATH = "%s/vservers" % SYSIMG_PATH