Commit 69bef960 authored by Leigh Stoller's avatar Leigh Stoller

Hack to cheesy image test, for Dmitry.

parent 061fffa3
......@@ -827,7 +827,8 @@ sub CheckNodeConstraints($$$)
if ($image_urn =~ /UBUNTU14\-10\-64\-OS/) {
return 0;
}
elsif ($iscloudlab && $image_urn !~ /ARM/) {
elsif ($iscloudlab &&
!($image_urn =~ /ARM/ || $image_urn =~ /HPC/)) {
$$pmsg = "Node '$client_id' disk_image will not run ".
"on the Cloudlab cluster";
return -1;
......
......@@ -476,6 +476,7 @@ class Profile
# The only image that runs on Cloudlab is UBUNTU14-64-ARM
#
if (preg_match("/ARM/", $name) ||
preg_match("/HPC/", $name) ||
preg_match("/OSCNF/", $name)) {
return "Utah Cloudlab";
}
......
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