mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Fixed issue #1605 regarding Cisco slots causing configs to break
This commit is contained in:
1 parent
6ac4c27bc1
commit
95bd76a212
4 files changed
+19
-15
No files matched your search
@@ -221,6 +221,9 @@ class BaseManager:
|
||||
if not hasattr(destination_node, "working_dir"):
|
||||
return destination_node
|
||||
|
||||
if hasattr(source_node, "status") and source_node.status != "stopped":
|
||||
raise ComputeError("Cannot duplicate node data while the node is running")
|
||||
|
||||
destination_dir = destination_node.working_dir
|
||||
try:
|
||||
shutil.rmtree(destination_dir)
|
||||
|
||||
Reference in new issue
Block a user