blob: 4b54e966ed131015581453f88ada34b9674e1392 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001Vagrant.configure("2") do |config|
Scott Baker665839d2016-06-29 07:36:36 -07002 # base image
Scott Baker50421662016-06-27 22:09:48 -07003 config.vm.box = "ubuntu/trusty64"
4
Scott Baker665839d2016-06-29 07:36:36 -07005 # setup a private network to the host machine
Scott Baker50421662016-06-27 22:09:48 -07006 config.vm.network "private_network", ip: "192.168.46.100"
Scott Baker665839d2016-06-29 07:36:36 -07007
8 # share the folder
Matteo Scandoloc217d702016-06-29 16:58:33 -07009 config.vm.synced_folder "../", "/opt/service-profile"
Matteo Scandolo206e2792016-09-22 14:13:30 -070010 config.vm.synced_folder "../..", "/opt/xos", create: true
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -070011 config.vm.synced_folder "../../xos_services", "/opt/xos_services", create: true
Matteo Scandoloc217d702016-06-29 16:58:33 -070012 config.vm.synced_folder ".", "/vagrant", disabled: true
Scott Baker665839d2016-06-29 07:36:36 -070013
14 # increase RAM
15 config.vm.provider :virtualbox do |vb|
Matteo Scandoloc217d702016-06-29 16:58:33 -070016 vb.customize ['modifyvm', :id,'--memory', '4096']
Scott Baker665839d2016-06-29 07:36:36 -070017 end
18
Scott Baker50421662016-06-27 22:09:48 -070019 end