Fixed man page for rinv. Fixed SSI query.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2013-02-06 04:20:13 +00:00
parent 27474cd70b
commit 8707039812
2 changed files with 8 additions and 3 deletions

View File

@ -172,7 +172,7 @@ Obtain the SSI and system status.
=item B<--smapilevel>
Obtain the SMAPI level installed on a given hypervisor.
Obtain the SMAPI level installed on the z/VM system.
=item B<--wwpn>

View File

@ -841,6 +841,11 @@ sub changeVM {
my $blks = $args->[3];
my $mode = $args->[4];
# If the user specifies auto as the device address, then find a free device address
if ($addr eq "auto") {
$addr = xCAT::zvmUtils->getFreeAddress($::SUDOER, $node, "smapi");
}
my $readPw = "''";
if ($args->[5]) {
$readPw = $args->[5];
@ -1269,7 +1274,7 @@ sub changeVM {
$out = xCAT::zvmUtils->appendHostname( $node, $out );
}
# connectnic2vswitch [address] [VSwitch]
# connectnic2vswitch [address] [vSwitch]
elsif ( $args->[0] eq "--connectnic2vswitch" ) {
my $addr = $args->[1];
my $vswitch = $args->[2];
@ -6636,7 +6641,7 @@ sub inventoryHypervisor {
# ssi
elsif ( $args->[0] eq "--ssi" ) {
$str = `ssh $::SUDOER\@$hcp "$::SUDO $::DIR/smcli SSI_Query -T $hcpUserId"`;
$str = `ssh $::SUDOER\@$hcp "$::SUDO $::DIR/smcli SSI_Query"`;
}
# smapilevel