mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Find an alternative IOS or IOU image if one cannot be found when importing a topology.
This commit is contained in:
1 parent
551b98880b
commit
9fc7650f3f
4 files changed
+19
-1
No files matched your search
@@ -295,6 +295,10 @@ class IOU(IModule):
|
||||
console = request.get("console")
|
||||
iou_id = request.get("iou_id")
|
||||
|
||||
updated_iou_path = os.path.join(self.images_directory, iou_path)
|
||||
if os.path.isfile(updated_iou_path):
|
||||
iou_path = updated_iou_path
|
||||
|
||||
try:
|
||||
iou_instance = IOUDevice(name,
|
||||
iou_path,
|
||||
|
||||
Reference in new issue
Block a user