X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/01f41aabb1c40f8c1fc49b29884e1fb8220dcc32..757a1aaa850bf48e45ee1dd2225cda1c9fa47d73:/Vagrantfile?ds=sidebyside diff --git a/Vagrantfile b/Vagrantfile index e94ca4321..2d450ec4a 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,11 +1,19 @@ # -*- mode: ruby -*- # vi: set ft=ruby : +Vagrant.configure("2") do |config| + config.vm.provider "virtualbox" do |vb| + vb.customize ["modifyvm", :id, "--memory", "8192"] + end +end + Vagrant.configure("2") do |config| # use official ubuntu image for virtualbox - config.vm.provider "virtualbox" do |_, override| - config.vm.box = "ubuntu/trusty64" + config.vm.provider "virtualbox" do |vb, override| + override.vm.box = "ubuntu/trusty64" override.vm.synced_folder ".", "/srv/openstreetmap-website" + vb.customize ["modifyvm", :id, "--memory", "1024"] + vb.customize ["modifyvm", :id, "--cpus", "2"] end # use third party image and NFS sharing for lxc