Explorar el Código

support/misc/Vagrantfile: support libvirt provider

And configure memory/CPU like for the other providers.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Korsgaard hace 10 meses
padre
commit
75b543880c
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      support/misc/Vagrantfile

+ 5 - 0
support/misc/Vagrantfile

@@ -29,6 +29,11 @@ Vagrant.configure('2') do |config|
 		end
 	end
 
+	config.vm.provider :libvirt do |v, override|
+		v.memory = VM_MEMORY
+		v.cpus = VM_CORES
+	end
+
 	config.vm.provision 'shell' do |s|
 		s.inline = 'echo Setting up machine name'