Add confirmation of snapshot removals

This commit is contained in:
Joshua Boniface 2024-08-19 13:57:20 -04:00
parent 33f905459a
commit fc55046812
1 changed files with 1 additions and 0 deletions

View File

@ -1819,6 +1819,7 @@ def cli_vm_snapshot_create(domain, snapshot_name):
@connection_req
@click.argument("domain")
@click.argument("snapshot_name")
@confirm_opt("Remove shapshot {snapshot_name} of VM {domain}")
def cli_vm_snapshot_remove(domain, snapshot_name):
"""
Remove the snapshot SNAPSHOT_NAME of the disks and XML configuration of virtual machine DOMAIN,