mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-01 01:03:04 +00:00
Document external_cluster_command
Add in some basic documentation for the new functionality
This commit is contained in:
parent
ea811ba639
commit
824e4a0274
1 changed files with 12 additions and 2 deletions
14
bin/cssh
14
bin/cssh
|
@ -262,8 +262,8 @@ on standard port (e.g not listening on port 22) and ssh_config cannot be used.
|
|||
|
||||
=item <tag> ...
|
||||
|
||||
Open a series of xterms defined by <tag> within either /etc/clusters or
|
||||
F<$HOME/.clusterssh/config> (see L</"FILES">).
|
||||
Open a series of xterms defined by <tag> in one of the suplimentary
|
||||
configuration files (see L</"FILES">).
|
||||
|
||||
Note: specifying a username on a cluster tag will override any usernames
|
||||
defined in the cluster
|
||||
|
@ -437,6 +437,16 @@ Set the initial position of the console - if empty then let the window manager
|
|||
decide. Format is '+<x>+<y>', i.e. '+0+0' is top left hand corner of the screen,
|
||||
'+0-70' is bottom left hand side of screen (more or less).
|
||||
|
||||
=item external_cluster_command = <null>
|
||||
|
||||
Define the full path to an external command that can be used to resolve tags
|
||||
to host names. This command can be written in any language. The script must
|
||||
accept a list of tags to resolve and output a list of hosts on a single line.
|
||||
Any tags that cannot be resolved should be returned unchanged.
|
||||
|
||||
A non-0 exit code will be counted as an error, a warning will be printed and
|
||||
output ignored.
|
||||
|
||||
=item extra_cluster_file = <null>
|
||||
|
||||
Define an extra cluster file in the format of F</etc/clusters>. Multiple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue