mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 19:28:09 +00:00
use platform not vmbus consistently
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
ec9a4a5428
commit
487307a551
@ -12,7 +12,7 @@ start()
|
|||||||
ebegin "Setting up proxy port service"
|
ebegin "Setting up proxy port service"
|
||||||
|
|
||||||
mkdir -p /port
|
mkdir -p /port
|
||||||
if [ -d /sys/bus/vmbus ]; then
|
if [ "$(mobyplatform)" = "windows" ]; then
|
||||||
# Running on a Hyper-V hypervisor
|
# Running on a Hyper-V hypervisor
|
||||||
/sbin/9pmount-vsock --serviceid 0B95756A-9985-48AD-9470-78E060895BE7 listen port /port
|
/sbin/9pmount-vsock --serviceid 0B95756A-9985-48AD-9470-78E060895BE7 listen port /port
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user