From b81fe0a8aaa281b4ddf709cd02af47b23144a32c Mon Sep 17 00:00:00 2001 From: varac Date: Fri, 4 Dec 2015 11:47:36 +0100 Subject: [bug] Vagrant boxes need 1g of ram On ci builds we got out-of-memory errors using the default of 512mb. --- lib/leap_cli/commands/vagrant.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/leap_cli/commands/vagrant.rb b/lib/leap_cli/commands/vagrant.rb index f7e00891..5168a3c0 100644 --- a/lib/leap_cli/commands/vagrant.rb +++ b/lib/leap_cli/commands/vagrant.rb @@ -150,7 +150,11 @@ module LeapCli; module Commands lines << %[ config.vm.network :private_network, ip: "#{node.ip_address}"] lines << %[ config.vm.provider "virtualbox" do |v|] lines << %[ v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]] - lines << %[ v.name = "#{node.name}"] + lines << %[ v.name = "#{node.name}"] + lines << %[ v.memory = 1024] + lines << %[ end] + lines << %[ config.vm.provider "libvirt" do |v|] + lines << %[ v.memory = 1024] lines << %[ end] lines << %[ #{leapfile.custom_vagrant_vm_line}] if leapfile.custom_vagrant_vm_line lines << %[ end] -- cgit v1.2.3