1# -*- mode: ruby -*- 2# vi: set ft=ruby : 3 4Vagrant.configure("2") do |config| 5 6 config.vm.box = "ubuntu/trusty64" 7 8 config.vm.provider "virtualbox" do |vb| 9 vb.cpus = 2 10 vb.memory = 2048 11 end 12 13 config.ssh.username = 'vagrant' 14 config.ssh.password = 'vagrant' 15 config.ssh.insert_key = 'true' 16 17 config.vm.define "php-master" do |box| 18 box.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh" 19 box.vm.provision "shell", path: "vagrant-php.sh" 20 end 21 22end 23