Fixed bug in getmacs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cc2148cedd
commit
da8c8acee0
@ -4728,7 +4728,7 @@ sub getMacs {
|
||||
xCAT::zvmCPUtils->loadVmcp($node);
|
||||
|
||||
# Get xCat MN Lan/VSwitch name
|
||||
my $out = `vmcp q v nic | egrep -i "VSWITCH|LAN"`;
|
||||
my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q v nic" | egrep -i "VSWITCH|LAN"`;
|
||||
my @lines = split( '\n', $out );
|
||||
my @words;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user