Merge branch 'fix-vboxmanage-case-sensitivity' into fix-port-nonename-error

This commit is contained in:
YueGuobin 2026-02-26 10:02:43 +08:00
commit fe73d0e935

View File

@ -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")