Add confirmation option for mirror promote

This commit is contained in:
Joshua Boniface 2024-10-10 01:52:10 -04:00
parent 214e7f835a
commit 70c588d3a8
1 changed files with 1 additions and 0 deletions

View File

@ -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,