Vagrantfile (867B)
1 # -*- mode: ruby -*- 2 # vi: set ft=ruby : 3 4 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! 5 VAGRANTFILE_API_VERSION = "2" 6 7 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| 8 9 # Every Vagrant virtual environment requires a box to build off of. 10 config.vm.box = "ubuntu/trusty64" 11 12 # Create a private network, which allows host-only access to the machine using a specific IP. 13 config.vm.network "private_network", ip: "192.168.33.111" 14 15 # Share an additional folder to the guest VM. The first argument is the path on the host to the actual folder. 16 # The second argument is the path on the guest to mount the folder. 17 config.vm.synced_folder "./", "/var/www/html" 18 19 # Define the bootstrap file: A (shell) script that runs after first setup of your box (= provisioning) 20 config.vm.provision :shell, path: "bootstrap.sh" 21 22 end