Commit 686b7e5d authored by David Johnson's avatar David Johnson

Check and error on <=0 temp filesystem size.

parent 49d45f4d
......@@ -674,6 +674,11 @@ tempBSNodes = []
if params.tempBlockstoreMountPoint != "":
if params.tempBlockstoreMountNodes:
tempBSNodes = params.tempBlockstoreMountNodes.split()
if params.tempBlockstoreSize <= 0:
perr = portal.ParameterError("Your temporary filesystems must have size > 0!",
['tempBlockstoreSize'])
pc.reportError(perr)
pc.verifyParameters()
pass
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment