mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-10-12 05:34:53 +08:00
feat: Use the engine variable (#1048)
This commit is contained in:
parent
21d18fd439
commit
cdc4689d6a
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user