From 470e3d65c355f073bd8494169d8d0df34cfab3e4 Mon Sep 17 00:00:00 2001 From: ertaozh Date: Wed, 6 Dec 2017 02:48:47 -0500 Subject: [PATCH] Fix the issue that the IP configuration will fail if bmc attribute is a hostname --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 74196243c..c7778cf0e 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -2843,7 +2843,7 @@ sub rspconfig_response { } } # Only deal with the nic whose IP matching the BMC IP configured for the node - if ($address eq $node_info{$node}{bmc}) { + if ($address eq $node_info{$node}{bmcip}) { $the_nic_to_config = $nic; last; }