Commit ddb9bf13 authored by Jonathon Duerig's avatar Jonathon Duerig

If a node isn't pcvm, then it can't run emulab-xen or emulab-openvz sliver types

parent cee881a6
......@@ -1309,8 +1309,6 @@ foreach $node (@nodenames) {
}
} else {
push(@sliver_types, "raw-pc");
push(@sliver_types, "emulab-openvz");
push(@sliver_types, "emulab-xen");
}
#
......@@ -1362,6 +1360,11 @@ foreach $node (@nodenames) {
if (($legacy_type =~ s/pc/pcvm/)) {
push(@types, "${legacy_type}:$count");
}
if (! $sharing_mode{$node})
{
push(@sliver_types, "emulab-openvz");
push(@sliver_types, "emulab-xen");
}
}
push(@types, $auxinfo);
}
......
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