"scripts/provision-shared.sh" config.vm.define "back-end-1" do |backend1| backend1.vm.network "private_network", ip: "192.168.1.11", virtualbox__intnet: "network1" backend1.vm.network "forwarded_port", guest: 80, host: 8011 backend1.vm.provision "shell", path: "scripts/provision-backend-1.sh" end config.vm.define "back-end-2" do |backend2| backend2.vm.network "private_network", ip: "192.168.1.12", virtualbox__intnet: "network1" backend2.vm.network "forwarded_port", guest: 80, host: 8012 backend2.vm.provision "shell", path: "scripts/provision-backend-2.sh" end config.vm.define "front-end" do |frontend| frontend.vm.network "private_network", ip: "192.168.1.10", virtualbox__intnet: "network1" frontend.vm.network "forwarded_port", guest: 80, host: 8010 frontend.vm.provision "shell", path: "scripts/provision-frontend.sh" end end