Appendix B. Vagrant Configuration Reference

This section serves as a complete reference to all the available configuration settings for Vagrant. As mentioned in V1 versus V2 Configuration, this section will only serve as a reference for V1 configurations, since V2 is not yet at a stable, unchanging state.

All settings are alphabetized so that they can be referenced more easily:

config.nfs.map_gid
Controls the global default GID mapping that is used for NFS shared folders. This should be set to an actual group ID (as a string) on the host system, or :auto. If the setting is :auto, Vagrant will automatically determine the group ID of the owner of any NFS shared folders and use that value. The default value is :auto.
config.nfs.map_uid
Controls the global default UID mapping that is used for NFS shared folders. This should be set to an actual user ID (as a string) on the host system, or :auto. If the setting is :auto, Vagrant will automatically determine the user ID of the owner of any NFS shared folders and use that value. The default value is :auto.
config.package.name
Controls the default filename of the output from vagrant package. This defaults to package.box.
config.ssh.forward_agent
Controls whether or not SSH connections enable agent forwarding. The default value is false.
config.ssh.forward_x11
Controls whether or not SSH connections will enable X11 forwarding. By default, this is false.
config.ssh.guest_port
This is the port of the SSH daemon on the guest machine. ...

Get Vagrant: Up and Running now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.