Skip to content

Commit

Permalink
Fix the issue that VM can not be cleared
Browse files Browse the repository at this point in the history
The VM cloned from the test can not be undefined without nvram options.
Fix the issue to make the env clean.

Signed-off-by: Yalan Zhang <[email protected]>
  • Loading branch information
yalzhang committed Jan 16, 2025
1 parent 05c945d commit 36fe18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/tests/src/virsh_cmd/domain/virsh_managedsave.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,5 +538,5 @@ def build_vm_xml(vm_name, **dargs):
if multi_guests:
for i in range(int(multi_guests)):
virsh.remove_domain("%s_%s" % (vm_name, i),
"--remove-all-storage",
"--remove-all-storage --nvram",
debug=True)

0 comments on commit 36fe18f

Please sign in to comment.