mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-10-13 06:04:58 +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"
|
local if="macvlan"
|
||||||
kernel=$(uname -a)
|
kernel=$(uname -a)
|
||||||
|
|
||||||
[[ "${kernel,,}" == *"darwin"* ]] && os="Docker Desktop for macOS"
|
[[ "${kernel,,}" == *"darwin"* ]] && os="$ENGINE Desktop for macOS"
|
||||||
[[ "${kernel,,}" == *"microsoft"* ]] && os="Docker Desktop for Windows"
|
[[ "${kernel,,}" == *"microsoft"* ]] && os="$ENGINE Desktop for Windows"
|
||||||
|
|
||||||
if [[ "$DHCP" == [Yy1]* ]]; then
|
if [[ "$DHCP" == [Yy1]* ]]; then
|
||||||
if="macvtap"
|
if="macvtap"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user