2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

Fix the issue that the IP configuration will fail if bmc attribute is a hostname

This commit is contained in:
ertaozh
2017-12-06 02:48:47 -05:00
parent 92d15cb7ac
commit 470e3d65c3

View File

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