feat: Use the engine variable (#1048)

This commit is contained in:
Kroese 2025-10-07 12:41:42 +02:00 committed by GitHub
parent 21d18fd439
commit cdc4689d6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -552,8 +552,8 @@ checkOS() {
local if="macvlan"
kernel=$(uname -a)
[[ "${kernel,,}" == *"darwin"* ]] && os="Docker Desktop for macOS"
[[ "${kernel,,}" == *"microsoft"* ]] && os="Docker Desktop for Windows"
[[ "${kernel,,}" == *"darwin"* ]] && os="$ENGINE Desktop for macOS"
[[ "${kernel,,}" == *"microsoft"* ]] && os="$ENGINE Desktop for Windows"
if [[ "$DHCP" == [Yy1]* ]]; then
if="macvtap"