From a02e7bcda75460e2fabb49cf89786bd60fe74e14 Mon Sep 17 00:00:00 2001 From: ts Date: Thu, 28 Nov 2019 15:35:54 +0000 Subject: [PATCH] WIP: fixed memory allocation for oVirt actually this time --- lib/templates/Vagrantfile.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/templates/Vagrantfile.erb b/lib/templates/Vagrantfile.erb index 646a82d09..992ab78ed 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -45,6 +45,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| " ovirt.memory_size = '#{system.memory} MB'\n" %> <%= if @base_type.include? 'desktop' " ovirt.memory_guaranteed = '512 MB'\n" + elsif system.memory.to_i >= 4096 +" ovirt.memory_guaranteed = '4096'" end -%> <%= if @options.has_key? :cpu_cores " ovirt.cpu_cores = #{@options[:cpu_cores]}\n"