mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 04:47:54 +00:00
Fix saved VM state was not deleted correctly.
This commit is contained in:
parent
7f27cb7015
commit
1905a99ce7
@ -1850,7 +1850,7 @@ class QemuVM(BaseNode):
|
||||
disk = disk_image
|
||||
if not os.path.exists(disk):
|
||||
continue
|
||||
command = [qemu_img_path, "snapshot", "-c", snapshot_name, disk]
|
||||
command = [qemu_img_path, "snapshot", "-d", snapshot_name, disk]
|
||||
retcode = yield from self._qemu_img_exec(command)
|
||||
if retcode:
|
||||
stdout = self.read_qemu_img_stdout()
|
||||
|
Loading…
Reference in New Issue
Block a user