A versão 1.1 do Vagrant foi lançada. A documentação que você está lendo é para o Vagrant 1.0.x. Leia mais sobre o Vagrant 1.1 no anúncio de lançamento. Acesse agora a documentação da versão 1.1.

Documentation for the Vagrant Experimental Series (1.x)

You're viewing the documentation for the experimental version of Vagrant (the 1.x series). The current stable series is 1.0.x and the documentation can be found here. You can learn more about the Vagrant versioning scheme here.

config.vagrant.host

Configuration key: config.vagrant.host

Default value: :detect

There are some things that Vagrant does that requires some host-specific behavior, such as exporting NFS shared folders. This sort of action differs from Mac OS X to Linux. This configuration parameter tells Vagrant what sort of host it is running on. By default, this is set to :detect and Vagrant will do its best to figure out on its own. Available values that are built-in to Vagrant are:

  • :arch
  • :bsd
  • :fedora
  • :freebsd
  • :gentoo
  • :linux
  • :opensuse
  • :windows

Note that some of the values overlap (such as :linux and :fedora). In these cases, please pick the most accurate available value.