1 Vagrant.configure("2") do |config|
2 config.vm.box = "debian/stretch64"
4 config.vm.provider "virtualbox" do |v|
9 config.vm.provider "libvirt" do |v|
12 config.vm.synced_folder ".", "/vagrant", type: "rsync"
15 # design-choice: run file in vm.
16 config.vm.provision "shell", inline: "/vagrant/provision.sh"
18 config.vm.network "forwarded_port", guest: 8080, host: 8080
20 # only for debugging reasons?
21 config.vm.network "forwarded_port", guest: 8081, host: 8081
22 config.vm.network "forwarded_port", guest: 8082, host: 8082
23 config.vm.network "forwarded_port", guest: 8083, host: 8083
24 config.vm.network "forwarded_port", guest: 8084, host: 8084
25 config.vm.network "forwarded_port", guest: 8085, host: 8085