O'Reilly logo

Vagrant: Up and Running by Mitchell Hashimoto

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required