# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "ubuntu/precise32" # Create a forwarded port mapping which allows access to a specific port # within the machine from a port on the host machine. In the example below, # accessing "localhost:8080" will access port 80 on the guest machine. config.vm.network :forwarded_port, guest: 57001, host: 57001 config.vm.network :forwarded_port, guest: 57001, host: 57002 config.vm.network :forwarded_port, guest: 57001, host: 57003 config.vm.network :forwarded_port, guest: 57004, host: 57004 config.vm.network :forwarded_port, guest: 57005, host: 57005 config.vm.network :forwarded_port, guest: 57006, host: 57006 config.vm.network :forwarded_port, guest: 57007, host: 57007 # Create a private network, which allows host-only access to the machine # using a specific IP. # config.vm.network :private_network, ip: "192.168.33.10" # Create a public network, which generally matched to bridged network. # Bridged networks make the machine appear as another physical device on # your network. # config.vm.network :public_network # Share an additional folder to the guest VM. The first argument is # the path on the host to the actual folder. The second argument is # the path on the guest to mount the folder. And the optional third # argument is a set of non-required options. config.vm.synced_folder ".", "/data/oonib" end $setup_script = <