Adapt script: more memory required for test-suite

This commit is contained in:
Bernhard F.W. Gschaider 2014-05-31 23:19:50 +02:00
parent 7e7434bd09
commit 01d9812483

View file

@ -4,7 +4,7 @@
Vagrant.configure("2") do |config|
config.vm.synced_folder "..", "/FOAM-sources"
config.vm.hostname="vagrant."+ (ENV["HOSTNAME"] || `hostname`)
config.vm.hostname="vagrant."+ (ENV["HOSTNAME"] || `hostname`.strip)
nrCPU=1
if ENV["WM_VAGRANT_CPUS"]
@ -26,7 +26,7 @@ Vagrant.configure("2") do |config|
# vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.cpus=nrCPU
# make sure each CPU has enough memory (at least 1.5 Gig)
vb.memory=512*[(1+nrCPU),3].max
vb.memory=512*[(1+nrCPU),4].max
end
config.vm.define :trusty do |trusty|