Vagrant.configure("2") do |config| config.vm.box = "debian/contrib-jessie64" config.vm.provision "shell", inline: "sudo -p vagrant apt-get install htop tmux multitail -y; sudo -p vagrant apt-get autoremove --purge exim4-base mutt -y;" config.vm.box_check_update = false config.ssh.insert_key=false config.vm.define "node1" do |server| server.vm.hostname = "node1" server.vm.network "public_network", adapter: 2, bridge: "eth0" server.vm.network "private_network", adapter:3, ip: "192.168.50.3", virtualbox__intnet: "mynetwork" end config.vm.define "node2" do |server| server.vm.hostname = "node2" server.vm.network "public_network", adapter: 2, bridge: "eth0" server.vm.network "private_network", adapter:3, ip: "192.168.50.4", virtualbox__intnet: "mynetwork" end end end