mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-07 00:48:23 +08:00
Update network.sh
This commit is contained in:
parent
f79424c28c
commit
c175dc402e
@ -495,7 +495,14 @@ else
|
|||||||
|
|
||||||
closeBridge
|
closeBridge
|
||||||
NETWORK="user"
|
NETWORK="user"
|
||||||
warn "falling back to user-mode networking! Performance will be bad and port mapping will not work."
|
msg="falling back to user-mode networking!"
|
||||||
|
if [ ! - f "/run/.containerenv" ]; then
|
||||||
|
msg="an error occured, $msg"
|
||||||
|
else
|
||||||
|
msg="podman rootless mode detected, $msg"
|
||||||
|
fi
|
||||||
|
warn "$msg"
|
||||||
|
[ -z "$USER_PORTS" ] && info "Notice: port mapping will not work without \"USER_PORTS\" now."
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user