Commit 0d282c95 authored by Leigh B Stoller's avatar Leigh B Stoller

Do not pass versioned imagename to create_image when provenance is off.

parent f1db22cf
......@@ -309,10 +309,15 @@ if (defined($image)) {
}
my $opts = "-p $pid ";
$opts .= "-w " if ($waitmode);
#
# Mike says do not pass versioned imagenames to create_image when
# provenance is turned off.
#
$imagename = $image->imagename();
$imagename .= ":" . $image->version() if ($DOPROVENANCE && $doprovenance);
my $output =
emutil::ExecQuiet("$CREATEIMAGE $opts ".
" $imagename:" . $image->version() . " $node_id");
my $output = emutil::ExecQuiet("$CREATEIMAGE $opts $imagename $node_id");
if ($?) {
$image->DeleteVersion()
if ($needdelete);
......
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