2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #4449 from zet809/fix_issue_4383

Fix the issue that the IP configuration will fail if bmc attribute is a hostname
This commit is contained in:
xuweibj 2017-12-06 16:37:50 +08:00 committed by GitHub
commit 64fb930d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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