mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 18:37:23 +08:00
feat: Use the engine variable
This commit is contained in:
parent
21d18fd439
commit
64e9189c70
@ -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…
Reference in New Issue
Block a user