projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a4a93
)
Vagrant: Virtualbox: increase RAM and put 2 CPUs
author
Victor Grousset
<victor@tuxayo.net>
Wed, 30 Dec 2015 23:04:02 +0000
(
00:04
+0100)
committer
Victor Grousset
<victor@tuxayo.net>
Wed, 30 Dec 2015 23:04:02 +0000
(
00:04
+0100)
Because some tests were crashing by lack to RAM.
And a second core speedups the provitioning and the tests.
Vagrantfile
patch
|
blob
|
history
diff --git
a/Vagrantfile
b/Vagrantfile
index 24d62bb7a4a95e56a4d2ad01526c6cce533061d2..0cd5ac72aa760553b8fdbada019af56c46cd19b4 100644
(file)
--- 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