mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
fix(qemu): Fixed missing image replacement for linked-clone nodes
This commit is contained in:
1 parent
59a367b88d
commit
da16dc9874
7 files changed
+308
-27
No files matched your search
@@ -1777,6 +1777,9 @@ class QemuVM(BaseNode):
|
||||
|
||||
try:
|
||||
os.remove(disk_path)
|
||||
md5sum_path = disk_path + ".md5sum"
|
||||
if os.path.exists(md5sum_path):
|
||||
os.remove(md5sum_path)
|
||||
except OSError as e:
|
||||
raise QemuError(f"Could not delete '{disk_name}' disk image: {e}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user