mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Do not force docker host VM on Darwin or Windows
This commit is contained in:
parent
cd68ba2c8e
commit
05b6cdab6c
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue