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:
Chris Roberts 2017-04-04 12:56:59 -07:00 committed by GitHub
commit d7132b79c6
1 changed files with 3 additions and 1 deletions

View File

@ -228,7 +228,9 @@ module VagrantPlugins
# host VM. Other users can optionally disable this by setting the
# value explicitly to false in their Vagrantfile.
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
# The machine name must be a symbol