Changed query to virtual NIC (vmcp q v nic).

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2011-10-14 00:46:37 +00:00
parent 59c805c19a
commit 2a1136ff10

View File

@ -302,7 +302,7 @@ sub getVswitchId {
my ( $class, $node ) = @_;
# Get VSwitch
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q nic" | grep "VSWITCH"`;
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q v nic" | grep "VSWITCH"`;
my @lines = split( '\n', $out );
my @parms;
my @vswitch;