Commit dd50e01e authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix, pass -b option through.

parent d78a77f2
...@@ -380,8 +380,7 @@ if (defined($image)) { ...@@ -380,8 +380,7 @@ if (defined($image)) {
$opts .= "-w " if ($waitmode); $opts .= "-w " if ($waitmode);
$opts .= "-F " if ($nodelta); $opts .= "-F " if ($nodelta);
$opts .= "-U " if ($update_prepare); $opts .= "-U " if ($update_prepare);
$opts .= "-b $bsname " if (defined($bsname));
print STDERR "FOO: $opts\n";
# #
# Mike says do not pass versioned imagenames to create_image when # Mike says do not pass versioned imagenames to create_image when
...@@ -597,6 +596,7 @@ my $opts = "-p $pid "; ...@@ -597,6 +596,7 @@ my $opts = "-p $pid ";
$opts .= "-w " if ($waitmode); $opts .= "-w " if ($waitmode);
$opts .= "-F " if ($nodelta); $opts .= "-F " if ($nodelta);
$opts .= "-U " if ($update_prepare); $opts .= "-U " if ($update_prepare);
$opts .= "-b $bsname " if (defined($bsname));
$output = emutil::ExecQuiet("$CREATEIMAGE $opts $imagename $node_id"); $output = emutil::ExecQuiet("$CREATEIMAGE $opts $imagename $node_id");
if ($?) { if ($?) {
print STDERR $output; print STDERR $output;
......
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