Vagrant.configure("2") do |config| config.vm.box = "debian/stretch64" config.vm.provider "virtualbox" do |v| v.name = "aic18g6t4" v.memory = 2048 end config.vm.provider "libvirt" do |v| v.memory = 2048 config.vm.synced_folder ".", "/vagrant", type: "rsync" end # design-choice: run file in vm. config.vm.provision "shell", inline: "/vagrant/provision.sh" config.vm.network "forwarded_port", guest: 8080, host: 8080 # only for debugging reasons? config.vm.network "forwarded_port", guest: 8081, host: 8081 config.vm.network "forwarded_port", guest: 8082, host: 8082 config.vm.network "forwarded_port", guest: 8083, host: 8083 config.vm.network "forwarded_port", guest: 8084, host: 8084 config.vm.network "forwarded_port", guest: 8085, host: 8085 end