Skip to content

Commit

Permalink
[qemu][vm factory] added remove_all_snapshots_from_the_image call in …
Browse files Browse the repository at this point in the history
…the create_vm_and_clone_instance_dir_data function as a post-process step.
  • Loading branch information
georgeliao committed Jun 14, 2024
1 parent 6ef12b3 commit 40ab758
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ mp::VirtualMachine::UPtr mp::QemuVirtualMachineFactory::create_vm_and_clone_inst
monitor,
key_provider,
get_instance_directory(dest_vm_desc.vm_name));
cloned_instance->remove_all_snapshots_from_the_image();

rollback_delete_instance_folder.dismiss();
return cloned_instance;
Expand Down

0 comments on commit 40ab758

Please sign in to comment.