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:
parent
f37e62203e
commit
69140ec75e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user