2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-19 04:40:21 +00:00

merge name mistake in node info file

This commit is contained in:
Jia Zhao
2014-08-28 17:16:50 +08:00
parent eae580c867
commit c2055a9b5e

View File

@ -2305,7 +2305,7 @@ sub validate_node_entry{
}
# Must specify either MAC, CEC or switch + port.
if (exists $node_entry{"mac"} ||
exists $node_entry{"switch"} && exists $node_entry{"switchport"} ||
exists $node_entry{"switches"} ||
exists $node_entry{"cec"}){
} else{
$errmsg .= "MAC address, cec, switch and port is not specified. You must specify the MAC address, CEC name or switch and port.\n";