Skip to content
Snippets Groups Projects
Commit ed4d8889 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

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


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent c5a66db3
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ def ModifyOS(opts, args):
osparams=osp,
hidden_os=ohid,
blacklisted_os=oblk)
SubmitOpCode(op, opts=opts)
SubmitOrSend(op, opts)
return 0
......@@ -293,7 +293,7 @@ commands = {
"modify": (
ModifyOS, ARGS_ONE_OS,
[HVLIST_OPT, OSPARAMS_OPT, DRY_RUN_OPT, PRIORITY_OPT,
HID_OS_OPT, BLK_OS_OPT],
HID_OS_OPT, BLK_OS_OPT, SUBMIT_OPT],
"", "Modify the OS parameters"),
}
......
......@@ -44,7 +44,7 @@ in the cluster, including its validity status, the supported API
versions, the supported parameters (if any) and their
documentations, etc.
| **modify** [-H *HYPERVISOR*:option=*value*[,...]]
| **modify** [\--submit] [-H *HYPERVISOR*:option=*value*[,...]]
| [\--hidden=*yes|no*] [\--blacklisted=*yes|no*]
| {*OS*}
......@@ -66,6 +66,9 @@ Note: The given operating system doesn't have to exists. This allows
preseeding the settings for operating systems not yet known to
**gnt-os**.
See **ganeti(7)** for a description of ``--submit`` and other common
options.
.. vim: set textwidth=72 :
.. Local Variables:
.. mode: rst
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment