diff --git a/gns3server/modules/qemu/__init__.py b/gns3server/modules/qemu/__init__.py index b9884e8e..cc7cfdbb 100644 --- a/gns3server/modules/qemu/__init__.py +++ b/gns3server/modules/qemu/__init__.py @@ -629,7 +629,8 @@ class Qemu(IModule): if "PROGRAMFILES" in os.environ and os.path.exists(os.environ["PROGRAMFILES"]): paths.append(os.path.join(os.environ["PROGRAMFILES"], "qemu")) elif sys.platform.startswith("darwin"): - paths.append(os.path.join(os.getcwd(), "../Resources/Qemu/bin/")) + # add a specific location on Mac OS X regardless of what's in $PATH + paths.append("/usr/local/bin") for path in paths: try: for f in os.listdir(path): diff --git a/gns3server/templates/upload.html b/gns3server/templates/upload.html index f34e4941..ceec7f68 100644 --- a/gns3server/templates/upload.html +++ b/gns3server/templates/upload.html @@ -13,10 +13,8 @@ File: {%if items%}
{{path}}/{{item}}
{%end%} {%end%} -