Vagrant.configure("2") do |config| config.vm.provision "shell", inline: "echo Hello" # Each `config.vm.define` defined a machine config.vm.define "web" do |web| web.vm.box = "apache" end config.vm.define "db" do |db| db.vm.box = "mysql" end end
Last updated 6 years ago
Was this helpful?