Merge pull request #8437 from chrisroberts/enhancement/docker-host-vm
Do not force docker host VM on Darwin or Windows
This commit is contained in:
commit
d7132b79c6
|
@ -228,7 +228,9 @@ module VagrantPlugins
|
||||||
# host VM. Other users can optionally disable this by setting the
|
# host VM. Other users can optionally disable this by setting the
|
||||||
# value explicitly to false in their Vagrantfile.
|
# value explicitly to false in their Vagrantfile.
|
||||||
if @force_host_vm == UNSET_VALUE
|
if @force_host_vm == UNSET_VALUE
|
||||||
@force_host_vm = !Vagrant::Util::Platform.linux?
|
@force_host_vm = !Vagrant::Util::Platform.linux? &&
|
||||||
|
!Vagrant::Util::Platform.darwin? &&
|
||||||
|
!Vagrant::Util::Platform.windows?
|
||||||
end
|
end
|
||||||
|
|
||||||
# The machine name must be a symbol
|
# The machine name must be a symbol
|
||||||
|
|
Loading…
Reference in New Issue