From: BaiYuan <xca...@so...> - 2015-06-26 03:28:59
|
The branch, master has been updated via 69140ec75e457bf10007f09ab598dfc6fb3bb4bf (commit) from f37e62203ed71ce7ee28b4ec8b67066833792b52 (commit) ----------------------------------------------------------------------- commit 69140ec75e457bf10007f09ab598dfc6fb3bb4bf Author: amy0701 <by...@cn...> Date: Thu Jun 25 23:27:31 2015 -0400 delete /n ----------------------------------------------------------------------- diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index 7d4ba40..1ef8fcc 100755 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -317,6 +317,7 @@ sub get_bmc_ip_source{ { my $rsp = {}; my $ipsource=`echo "$output"|grep "IP Address Source"|awk -F":" '{print \$2}'`; + chomp($ipsource); push @{ $rsp->{data} }, "$ipsource"; xCAT::MsgUtils->message("I", $rsp, $::CALLBACK); return 0; |