enhance msgs for cpcosi error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4998ce006e
commit
3e67ba3e19
@ -4200,12 +4200,6 @@ sub mk_spot
|
||||
chomp $currentimage;
|
||||
$cpcosi_cmd .= "-c $currentimage ";
|
||||
|
||||
# do we want verbose output?
|
||||
if ($::VERBOSE)
|
||||
{
|
||||
$cpcosi_cmd .= "-v ";
|
||||
}
|
||||
|
||||
# where to put it - the default is /install
|
||||
my $spotloc;
|
||||
if ($::opt_l)
|
||||
@ -4239,6 +4233,7 @@ sub mk_spot
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
my $rsp;
|
||||
push @{$rsp->{data}}, " The cpcosi command failed. \n$output\n";
|
||||
push @{$rsp->{data}},
|
||||
"Could not create a NIM definition for \'$spot_name\'.\n";
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
|
Loading…
Reference in New Issue
Block a user