Skip to content

Commit

Permalink
Document gnt-instance add --commit
Browse files Browse the repository at this point in the history
The --commit option was added to "gnt-instance add" to transform
a forthcoming instance into a real one. Document that new option
in the man page as well.

Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Niklas Hambuechen <[email protected]>
  • Loading branch information
aehlig committed Dec 4, 2014
1 parent fcbb8d6 commit dbe4681
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion man/gnt-instance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ADD
| \| {size=*VAL*,provider=*PROVIDER*}[,param=*value*... ][,options...]
| \| {-s|\--os-size} *SIZE*}
| [\--no-ip-check] [\--no-name-check] [\--no-conflicts-check]
| [\--no-start] [\--no-install] [\--forthcoming]
| [\--no-start] [\--no-install] [{\--forthcoming \| \--commit}]
| [\--net=*N* [:options...] \| \--no-nics]
| [{-B|\--backend-parameters} *BEPARAMS*]
| [{-H|\--hypervisor-parameters} *HYPERVISOR* [: option=*value*... ]]
Expand Down Expand Up @@ -199,6 +199,10 @@ successfully).
Passing the ``--forthcoming`` option, Ganeti will not at all try
to create the instance or its disks. Instead the instance will
only be added to the configuration, so that the resources are reserved.
If the ``--commit`` option is passed, then it is a prerequisite that
an instance with that name has already been added to the configuration
as a forthcoming instance and the request is to replace this instance
by the newly created real one.

The ``-B (--backend-parameters)`` option specifies the backend
parameters for the instance. If no such parameters are specified, the
Expand Down

0 comments on commit dbe4681

Please sign in to comment.