Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 1 | Vagrant.configure("2") do |config| |
| 2 | # base image |
| 3 | config.vm.box = "ubuntu/trusty64" |
| 4 | |
| 5 | # setup a private network to the host machine |
| 6 | config.vm.network "private_network", ip: "192.168.46.100" |
| 7 | |
| 8 | # share the folder |
| 9 | config.vm.synced_folder "../", "/opt/service-profile" |
| 10 | config.vm.synced_folder "../../xos", "/opt/xos", create: true |
| 11 | config.vm.synced_folder "../../xos_services", "/opt/xos_services", create: true |
| 12 | config.vm.synced_folder ".", "/vagrant", disabled: true |
| 13 | |
| 14 | # increase RAM |
| 15 | config.vm.provider :virtualbox do |vb| |
| 16 | vb.customize ['modifyvm', :id,'--memory', '4096'] |
| 17 | end |
| 18 | |
| 19 | end |