use platform not vmbus consistently

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-07-20 12:07:40 +01:00
parent ec9a4a5428
commit 487307a551

View File

@ -12,7 +12,7 @@ start()
ebegin "Setting up proxy port service"
mkdir -p /port
if [ -d /sys/bus/vmbus ]; then
if [ "$(mobyplatform)" = "windows" ]; then
# Running on a Hyper-V hypervisor
/sbin/9pmount-vsock --serviceid 0B95756A-9985-48AD-9470-78E060895BE7 listen port /port
else