Commit 3af642d4 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Treat the node_types virtnode_capacity as an upper bound for that

type; do not let the user increase it beyond that with the colocate
factor.
parent e2ba5e3b
......@@ -236,7 +236,7 @@ foreach $node (keys(%nodes)) {
#
# Ditto for jailed nodes
#
if (defined($mfactor)) {
if (defined($mfactor) && $mfactor <= $virtnode_capacity) {
$text .= " pcvm:$mfactor";
}
else {
......
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