From 3e67ba3e19c8dce62a074776715301ef1dbeb13a Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 26 Jun 2013 13:51:08 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 8c9eca8a9..77afb7218 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -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);