Browse Source

vagrant: libvirt add vm_memory support

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/2153/head
Sébastien Han 6 years ago
parent
commit
0684df804d
1 changed files with 4 additions and 0 deletions
  1. 4
      Vagrantfile

4
Vagrantfile

@ -120,6 +120,10 @@ Vagrant.configure("2") do |config|
vb.cpus = $vm_cpus vb.cpus = $vm_cpus
end end
config.vm.provider :libvirt do |lv|
lv.memory = $vm_memory
end
ip = "#{$subnet}.#{i+100}" ip = "#{$subnet}.#{i+100}"
host_vars[vm_name] = { host_vars[vm_name] = {
"ip": ip, "ip": ip,

Loading…
Cancel
Save