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
@@ -138,6 +138,10 @@ class VM(object):
|
||||
chassis = request.get("chassis")
|
||||
router_id = request.get("router_id")
|
||||
|
||||
updated_image_path = os.path.join(self.images_directory, image)
|
||||
if os.path.isfile(updated_image_path):
|
||||
image = updated_image_path
|
||||
|
||||
try:
|
||||
|
||||
if platform not in PLATFORMS:
|
||||
|
||||
Reference in new issue
Block a user