From b0de254898e1ae0ed675dea1b41d2aa3d1b9de74 Mon Sep 17 00:00:00 2001 From: Dramelac Date: Thu, 14 Dec 2023 19:26:01 +0100 Subject: [PATCH] Fix mac OS detection --- exegol/config/EnvInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exegol/config/EnvInfo.py b/exegol/config/EnvInfo.py index 7c3de370..d0eb1a17 100644 --- a/exegol/config/EnvInfo.py +++ b/exegol/config/EnvInfo.py @@ -86,7 +86,7 @@ def initData(cls, docker_info): elif cls.__is_docker_desktop: # If docker desktop is detected but not a Windows engine/kernel, it's (probably) a mac cls.__docker_engine = cls.DockerEngine.DOCKER_DESKTOP - cls.__docker_host_os = cls.HostOs.LINUX if "linuxkit" in docker_kernel else cls.HostOs.MAC + cls.__docker_host_os = cls.HostOs.MAC if cls.is_mac_shell else cls.HostOs.LINUX elif is_orbstack: # Orbstack is only available on Mac cls.__docker_engine = cls.DockerEngine.ORBSTACK