From 0684df804d115b11c9ffbe0aee0b0b6631429b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 11 Jan 2018 19:29:01 +0100 Subject: [PATCH] vagrant: libvirt add vm_memory support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Han --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index f89a874e8..e9ea5fdaa 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -120,6 +120,10 @@ Vagrant.configure("2") do |config| vb.cpus = $vm_cpus end + config.vm.provider :libvirt do |lv| + lv.memory = $vm_memory + end + ip = "#{$subnet}.#{i+100}" host_vars[vm_name] = { "ip": ip,