From 8f867bb118df1ea8b8c188000cd1351a85dfcb65 Mon Sep 17 00:00:00 2001 From: phamt Date: Wed, 13 Oct 2010 16:03:26 +0000 Subject: [PATCH] Check the output string of "vmcp q v nic". git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/zvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/zvm.pm b/xCAT-server/lib/xcat/plugins/zvm.pm index d840423fa..08982edfe 100644 --- a/xCAT-server/lib/xcat/plugins/zvm.pm +++ b/xCAT-server/lib/xcat/plugins/zvm.pm @@ -1943,7 +1943,7 @@ sub cloneVM { } # Exit if network address is not found - if ( !$hcpNicAddr ) { + if ( $out && !$hcpNicAddr ) { foreach (@nodes) { xCAT::zvmUtils->printLn( $callback, "$_: (Error) Node is not on the same network ($hcpNetName) as the hardware control point" ); }