From: Victor Grousset Date: Wed, 30 Dec 2015 23:04:02 +0000 (+0100) Subject: Vagrant: Virtualbox: increase RAM and put 2 CPUs X-Git-Tag: live~4474^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/66fccfdbcf10626c4b7676f7e44b8ba78305cb6b?hp=-c Vagrant: Virtualbox: increase RAM and put 2 CPUs Because some tests were crashing by lack to RAM. And a second core speedups the provitioning and the tests. --- 66fccfdbcf10626c4b7676f7e44b8ba78305cb6b diff --git a/Vagrantfile b/Vagrantfile index 24d62bb7a..0cd5ac72a 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,9 +3,11 @@ Vagrant.configure("2") do |config| # use official ubuntu image for virtualbox - config.vm.provider "virtualbox" do |_, override| + 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