2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

delete /n

This commit is contained in:
amy0701 2015-06-25 23:27:31 -04:00
parent f37e62203e
commit 69140ec75e

View File

@ -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;