From b505d11c007c76c6cbef8fc585624bb69095c600 Mon Sep 17 00:00:00 2001 From: phamt Date: Sat, 8 Jan 2011 04:17:41 +0000 Subject: [PATCH] Used "VMCP Q V NIC" to get the MAC address. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/zvmUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/zvmUtils.pm b/perl-xCAT/xCAT/zvmUtils.pm index 14df715cc..95d9e3124 100644 --- a/perl-xCAT/xCAT/zvmUtils.pm +++ b/perl-xCAT/xCAT/zvmUtils.pm @@ -919,7 +919,7 @@ sub createMacAddr { # Get HCP MAC address # Get the first MAC address found - my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q nic" | grep "MAC:"`; + my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q v nic" | grep "MAC:"`; my @lines = split( "\n", $out ); my @vars = split( " ", $lines[0] );