2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 04:10:46 +00:00

add description of rsetboot -u/-p in Usage.pm;refine the manpage

This commit is contained in:
immarvin
2016-02-22 04:03:48 -05:00
committed by penguhyang
parent f3ed115bf5
commit afeffe0df1
3 changed files with 17 additions and 7 deletions

View File

@ -11,7 +11,7 @@ SYNOPSIS
********
\ **rsetboot**\ \ *noderange*\ {\ **hd | net | cd | default | stat**\ }
\ **rsetboot**\ \ *noderange*\ {\ **hd | net | cd | default | stat**\ } [\ **-u**\ ] [\ **-p**\ ]
\ **rsetboot**\ [\ **-h | -**\ **-help | -v | -**\ **-version**\ ]
@ -21,9 +21,7 @@ DESCRIPTION
***********
\ **rsetboot**\ sets the boot media that should be used on the next boot of the specified nodes. After the nodes are
booted with the specified device (e.g. via rpower(1)|rpower.1), the nodes will return to using the
default boot device specified in the BIOS. Currently this command is only supported for IPMI nodes.
\ **rsetboot**\ sets the boot media and boot mode that should be used on the next boot of the specified nodes. After the nodes are booted with the specified device and boot mode (e.g. via rpower(1)|rpower.1), the nodes will return to using the default boot device specified in the BIOS. Currently this command is only supported for IPMI nodes.
*******
@ -62,6 +60,18 @@ OPTIONS
\ **-u**\
To specify the next boot mode to be "UEFI Mode".
\ **-p**\
To make the specified boot device and boot mode settings persistent.
********
EXAMPLES

View File

@ -96,7 +96,7 @@ my %usage = (
MIC specific:
rinv noderange [system|ver|board|core|gddr|all]",
"rsetboot" =>
"Usage: rsetboot <noderange> [net|hd|cd|floppy|def|stat] [-V|--verbose]
"Usage: rsetboot <noderange> [net|hd|cd|floppy|def|stat] [-V|--verbose] [-u] [-p]
rsetboot [-h|--help|-v|--version]",
"rbootseq" =>
"Usage:

View File

@ -5,7 +5,7 @@ B<rsetboot> - Sets the boot device to be used for BMC-based servers for the next
=head1 SYNOPSIS
B<rsetboot> I<noderange> {B<hd>|B<net>|B<cd>|B<default>|B<stat>} [B<-u>|B<-p>]
B<rsetboot> I<noderange> {B<hd>|B<net>|B<cd>|B<default>|B<stat>} [B<-u>] [B<-p>]
B<rsetboot> [B<-h>|B<--help>|B<-v>|B<--version>]
@ -40,7 +40,7 @@ Display the current boot setting.
=item B<-u>
To specify the next boot mode to be "UEFI Mode". From Lenovo NX360 M5, if "-u" is not specified, B<rsetboot> will force the next boot mode to be "Legacy Mode".
To specify the next boot mode to be "UEFI Mode".
=item B<-p>