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
This commit is contained in:
parent
ae78ab8d3b
commit
b505d11c00
@ -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] );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user