Fixed bug in getmacs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
39123d48ac
commit
80dbeffa85
@ -4726,7 +4726,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…
x
Reference in New Issue
Block a user