vagrant: libvirt add vm_memory support
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
f8d6b84cb6
commit
0684df804d
1 changed files with 4 additions and 0 deletions
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue