Commit b3557905 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Case insensitive regex for ARM on image names. Note, we need to stop using

this check, now that the image server and jacks constraints are working.
parent 0207943b
......@@ -846,12 +846,12 @@ sub CheckNodeConstraints($$$)
return 0;
}
elsif ($iscloudlab &&
!($image_urn =~ /ARM/ || $image_urn =~ /HPC/)) {
!($image_urn =~ /ARM/i || $image_urn =~ /HPC/i)) {
$$pmsg = "The disk image specified for node '$client_id' ".
"will not run on the Cloudlab Utah cluster";
return -1;
}
elsif (!$iscloudlab && $image_urn =~ /ARM/) {
elsif (!$iscloudlab && $image_urn =~ /ARM/i) {
$$pmsg = "The disk image specified for node '$client_id' ".
"will only run on the Cloudlab Utah cluster";
return -1;
......
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