mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-22 22:15:30 +00:00
Merge pull request #2433 from jjohnson42/fixvitalsman
Amend man page for rvitals
This commit is contained in:
@ -82,12 +82,14 @@ Retrieves power status.
|
||||
=item B<powertime>
|
||||
|
||||
Retrieves total power uptime. This value only increases, unless
|
||||
the Service Processor flash gets updated.
|
||||
the Service Processor flash gets updated. This option is not valid
|
||||
for x86 architecture systems.
|
||||
|
||||
=item B<reboot>
|
||||
|
||||
Retrieves total number of reboots. This value only increases,
|
||||
unless the Service Processor flash gets updated.
|
||||
unless the Service Processor flash gets updated. This option
|
||||
is not valid for x86 architecture systems.
|
||||
|
||||
=item B<state>
|
||||
|
||||
|
@ -342,7 +342,7 @@ sub makeconfluentcfg {
|
||||
die "confluent does not currently support termserver";
|
||||
$termservers{ $_->{termserver} } = 1; # dont add this one again
|
||||
}
|
||||
if ($type{ $_->{node} } =~ /fsp|bpa|hmc|ivm/) {
|
||||
if ($type{$_->{node}} and $type{ $_->{node} } =~ /fsp|bpa|hmc|ivm/) {
|
||||
$keepdoing = 0; # these types dont have consoles
|
||||
}
|
||||
}
|
||||
@ -450,14 +450,16 @@ sub donodeent {
|
||||
}
|
||||
my %parameters;
|
||||
if ($cmeth) { $parameters{'console.method'} = $cmeth; }
|
||||
if ($cmeth eq 'ipmi' or not $cmeth) {
|
||||
if (not $cmeth or $cmeth eq 'ipmi') {
|
||||
$parameters{'secret.hardwaremanagementuser'} =
|
||||
$ipmiauthdata->{$node}->{username};
|
||||
$parameters{'secret.hardwaremanagementpassword'} =
|
||||
$ipmiauthdata->{$node}->{password};
|
||||
my $bmc = $ipmientries->{$node}->[0]->{bmc};
|
||||
$bmc =~ s/,.*//;
|
||||
$parameters{'hardwaremanagement.manager'} = $bmc;
|
||||
if ($bmc) {
|
||||
$bmc =~ s/,.*//;
|
||||
$parameters{'hardwaremanagement.manager'} = $bmc;
|
||||
}
|
||||
}
|
||||
if (defined($cfgent->{consoleondemand})) {
|
||||
if ($cfgent->{consoleondemand}) {
|
||||
|
Reference in New Issue
Block a user