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