mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 08:10:12 +00:00
add -r alias -d for makeknownhosts (#3186)
This commit is contained in:
@ -19,7 +19,7 @@ SYNOPSIS
|
||||
********
|
||||
|
||||
|
||||
\ **makeknownhosts**\ \ *noderange*\ [\ **-r | -**\ **-remove**\ ] [\ **-V | -**\ **-verbose**\ ]
|
||||
\ **makeknownhosts**\ \ *noderange*\ [\ **-r | -d | -**\ **-remove**\ ] [\ **-V | -**\ **-verbose**\ ]
|
||||
|
||||
\ **makeknownhosts**\ [\ **-h | -**\ **-help**\ ]
|
||||
|
||||
@ -53,7 +53,7 @@ OPTIONS
|
||||
|
||||
|
||||
|
||||
\ **-r|-**\ **-remove**\
|
||||
\ **-r| -d| -**\ **-remove**\
|
||||
|
||||
Only removes the entries for the nodes from the known_hosts file.
|
||||
|
||||
@ -98,6 +98,10 @@ EXAMPLES
|
||||
To remove the known_hosts entry for node02
|
||||
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
makeknownhosts node02 -r
|
||||
|
||||
or
|
||||
|
||||
makeknownhosts node02 -d
|
||||
|
Reference in New Issue
Block a user