vagrant: libvirt add vm_memory support

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/2153/head
Sébastien Han 2018-01-11 19:29:01 +01:00
parent f8d6b84cb6
commit 0684df804d
1 changed files with 4 additions and 0 deletions

4
Vagrantfile vendored
View File

@ -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,