Commit 13ddcb50 authored by Michael Hanselmann's avatar Michael Hanselmann

Document "--submit" in ganeti.7

Like “--priority” and “--dry-run”, the “--submit” option is available
for many commands and can be documented in a central place. This patch
also fixes a small number of style issues.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 4faa4861
......@@ -225,7 +225,8 @@ Many Ganeti commands provide the following options. The
availability for a certain command can be checked by calling the
command using the ``--help`` option.
**gnt-...** *command* [\--dry-run] [\--priority {low | normal | high}]
| **gnt-...** *command* [\--dry-run] [\--priority {low | normal | high}]
| [\--submit]
The ``--dry-run`` option can be used to check whether an operation
would succeed.
......@@ -233,6 +234,10 @@ would succeed.
The option ``--priority`` sets the priority for opcodes submitted
by the command.
The ``--submit`` option is used to send the job to the master daemon but
not wait for its completion. The job ID will be shown so that it can be
examined using **gnt-job info**.
Defaults
~~~~~~~~
......
......@@ -661,9 +661,8 @@ master node to the other nodes in the cluster. This is normally not
needed, but can be run if the **verify** complains about
configuration mismatches.
The ``--submit`` option is used to send the job to the master
daemon but not wait for its completion. The job ID will be shown so
that it can be examined via **gnt-job info**.
See **ganeti(7)** for a description of ``--submit`` and other common
options.
REMOVE-TAGS
~~~~~~~~~~~
......
This diff is collapsed.
......@@ -286,7 +286,7 @@ MODIFY
This command changes the role of the node. Each options takes
either a literal yes or no, and only one option should be given as
yes. The meaning of the roles and flags are described in the
manpage **ganeti**(7).
manpage **ganeti(7)**.
The option ``--node-powered`` can be used to modify state-of-record if
it doesn't reflect the reality anymore.
......@@ -309,6 +309,9 @@ The ``-s (--secondary-ip)`` option can be used to change the node's
secondary ip. No drbd instances can be running on the node, while this
operation is taking place.
See **ganeti(7)** for a description of ``--submit`` and other common
options.
Example (setting the node back to online and master candidate)::
# gnt-node modify --offline=no --master-candidate=yes node1.example.com
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment