From c55fd9e06606996265faf5867e4ba405a55e9243 Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Thu, 26 Feb 2026 09:57:51 +0800 Subject: [PATCH] feat(virtualbox): add fallback for VBoxManage executable detection Add an additional fallback check for the VBoxManage executable using the capitalized "VBoxManage" command name. This improves compatibility on systems where the executable may be case-sensitive or installed with a different naming convention, ensuring the VirtualBox manager can locate the necessary binary when the lowercase "vboxmanage" is not found. --- gns3server/compute/virtualbox/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/compute/virtualbox/__init__.py b/gns3server/compute/virtualbox/__init__.py index 5627fb5ef..ccc5a6952 100644 --- a/gns3server/compute/virtualbox/__init__.py +++ b/gns3server/compute/virtualbox/__init__.py @@ -68,6 +68,8 @@ class VirtualBox(BaseManager): vboxmanage_path = vboxmanage_path_osx if not vboxmanage_path: vboxmanage_path = shutil.which("vboxmanage") + if not vboxmanage_path: + vboxmanage_path = shutil.which("VBoxManage") if vboxmanage_path and not os.path.exists(vboxmanage_path): log.error(f"VBoxManage path '{vboxmanage_path}' doesn't exist")