Commit 28a11ed0 authored by Leigh Stoller's avatar Leigh Stoller

Add emulab-xen to the contraint types when the hardware types include

"pcvm". This makes the constraint checker happy wrt VMs.
parent e5b70aa4
......@@ -325,6 +325,9 @@ function Do_GetImageInfo()
$description = $row["description"];
}
if (count($types)) {
if (isset($types["pcvm"])) {
$virts["emulab-xen"] = "emulab-xen";
}
# These are reversed from what they should mean!
$typelist = implode(",", array_keys($types));
$virtlist = implode(",", array_keys($virts));
......
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