In this section, we will cover the various sections that are available to configure in a Vagrantfile. You will learn how to configure the virtual machine directly, configure the provider (VirtualBox), and configure how Vagrant will connect to your machine via SSH or any other communicator.
Vagrantfile options
Vagrant machine configuration (config.vm)
Using the config.vm namespace, we will look at configuring certain parts of the Vagrant machine, such as box information and miscellaneous settings including synced folders, provision, and providers. The configurable elements are as follows:
- config.vm.boot_timeout is used to specify (in seconds) how long Vagrant will wait for the machine to start up and become available for use...