From a9f65cdcd2bd4b2c47add68c60becd93edece3c6 Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 29 Oct 2010 12:32:41 +0000 Subject: [PATCH] Changed the way the MAC address is found by using "QUERY VIRTUAL NIC". git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7973 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 f27fb388a..677aa957d 100644 --- a/xCAT-server/lib/xcat/plugins/zvm.pm +++ b/xCAT-server/lib/xcat/plugins/zvm.pm @@ -1653,7 +1653,7 @@ sub makeVM { # Get HCP MAC address # The HCP should only have (1) network and (1) MAC address xCAT::zvmCPUtils->loadVmcp($hcp); - $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q nic" | grep "MAC:"`; + $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q v nic" | grep "MAC:"`; if ($out) { @lines = split( "\n", $out ); @words = split( " ", $lines[0] );