From cfe13e1929bc09c5e13aa444357e9fe08eddbb72 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 29 Mar 2017 16:08:13 +0200 Subject: [PATCH] Support IOU image without .bin at the end --- gns3server/utils/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/utils/images.py b/gns3server/utils/images.py index fd867aa6..0f7bc8f5 100644 --- a/gns3server/utils/images.py +++ b/gns3server/utils/images.py @@ -58,7 +58,7 @@ def list_images(type): if filename.endswith(".md5sum") or filename.startswith("."): continue elif ((filename.endswith(".image") or filename.endswith(".bin")) and type == "dynamips") \ - or (filename.endswith(".bin") and type == "iou") \ + or ((filename.endswith(".bin") or filename.startswith("i86bi")) and type == "iou") \ or (not filename.endswith(".bin") and not filename.endswith(".image") and type == "qemu"): files.add(filename)