From c2055a9b5e46954711688b1a671244b1f337a224 Mon Sep 17 00:00:00 2001 From: Jia Zhao Date: Thu, 28 Aug 2014 17:16:50 +0800 Subject: [PATCH] merge name mistake in node info file --- xCAT-server/lib/xcat/plugins/profilednodes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index b259f11e2..e4be89f29 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -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";