Do not force docker host VM on Darwin or Windows

This commit is contained in:
Chris Roberts 2017-04-03 14:48:14 -07:00
parent cd68ba2c8e
commit 05b6cdab6c
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