Add confirmation option for mirror promote
This commit is contained in:
parent
214e7f835a
commit
70c588d3a8
|
@ -2279,6 +2279,7 @@ def cli_vm_mirror_create(
|
||||||
show_default=True,
|
show_default=True,
|
||||||
help="Wait or don't wait for task to complete, showing progress if waiting",
|
help="Wait or don't wait for task to complete, showing progress if waiting",
|
||||||
)
|
)
|
||||||
|
@confirm_opt("Promote VM {domain} on cluster {destination} (will shut down VM)")
|
||||||
def cli_vm_mirror_promote(
|
def cli_vm_mirror_promote(
|
||||||
domain,
|
domain,
|
||||||
destination,
|
destination,
|
||||||
|
|
Loading…
Reference in New Issue