Commit 745dae57 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

gnt-cluster modify: Add "--submit" option


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent f5c0c206
......@@ -1069,7 +1069,7 @@ def SetClusterParams(opts, args):
hv_state=hv_state,
disk_state=disk_state,
)
SubmitOpCode(op, opts=opts)
SubmitOrSend(op, opts)
return 0
......@@ -1550,7 +1550,7 @@ commands = {
DRBD_HELPER_OPT, NODRBD_STORAGE_OPT, DEFAULT_IALLOCATOR_OPT,
RESERVED_LVS_OPT, DRY_RUN_OPT, PRIORITY_OPT, PREALLOC_WIPE_DISKS_OPT,
NODE_PARAMS_OPT, USE_EXTERNAL_MIP_SCRIPT, DISK_PARAMS_OPT, HV_STATE_OPT,
DISK_STATE_OPT] +
DISK_STATE_OPT, SUBMIT_OPT] +
INSTANCE_POLICY_OPTS,
"[opts...]",
"Alters the parameters of the cluster"),
......
......@@ -554,7 +554,7 @@ be 1.
MODIFY
~~~~~~
| **modify**
| **modify** [\--submit]
| [\--vg-name *vg-name*]
| [\--no-lvm-storage]
| [\--enabled-hypervisors *hypervisors*]
......@@ -596,7 +596,7 @@ The ``--vg-name``, ``--no-lvm-storarge``, ``--enabled-hypervisors``,
command.
The ``--hypervisor-state`` and ``--disk-state`` options are described in
detail in **ganeti**(7).
detail in **ganeti(7)**.
The ``--add-uids`` and ``--remove-uids`` options can be used to
modify the user-id pool by adding/removing a list of user-ids or
......@@ -621,6 +621,9 @@ command. To clear the default iallocator, just pass an empty string
The ``--specs-...`` and ``--ipol-disk-templates`` options are described
in the **init** command.
See **ganeti(7)** for a description of ``--submit`` and other common
options.
QUEUE
~~~~~
......
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