vagrant: libvirt add vm_memory support
Signed-off-by: Sébastien Han <seb@redhat.com>pull/2153/head
parent
f8d6b84cb6
commit
0684df804d
|
@ -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…
Reference in New Issue