1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix saved VM state was not deleted correctly.

This commit is contained in:
grossmj 2018-06-09 17:28:26 +07:00
parent 7f27cb7015
commit 1905a99ce7

View File

@ -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()