Vagrant.configure("2") do |config| | |
# base image | |
config.vm.box = "ubuntu/trusty64" | |
# setup a private network to the host machine | |
config.vm.network "private_network", ip: "192.168.46.100" | |
# share the folder | |
config.vm.synced_folder "../../../", "/opt/xos" | |
# increase RAM | |
config.vm.provider :virtualbox do |vb| | |
vb.customize ['modifyvm', :id,'--memory', '4096'] | |
end | |
# make the frontend config | |
config.vm.provision "shell", inline: "cd /opt/xos/xos/configurations/frontend && make" | |
end |