Vagrant – VagrantFile

VagrantFile is in ruby syntax. This is configuration that is used when vagrant creates vms. If no directory is given vagrant will mount vagrant folder as shared folder between host and container/vm . To setup custom sync folder Vagrant.configure(“2”) do |config| config.vm.box = ‘centos/7’ # configures synced folder config.vm.synced_folder “./content”, “/vagrant” end To setup multi […]