mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
(cherry picked from commit 75b543880c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
5
support/misc/Vagrantfile
vendored
5
support/misc/Vagrantfile
vendored
@@ -29,6 +29,11 @@ Vagrant.configure('2') do |config|
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.provider :libvirt do |v, override|
|
||||||
|
v.memory = VM_MEMORY
|
||||||
|
v.cpus = VM_CORES
|
||||||
|
end
|
||||||
|
|
||||||
config.vm.provision 'shell' do |s|
|
config.vm.provision 'shell' do |s|
|
||||||
s.inline = 'echo Setting up machine name'
|
s.inline = 'echo Setting up machine name'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user