test: improve VM image creation.
This commit is contained in:
parent
62cb1d9b96
commit
537e34739d
7 changed files with 19 additions and 6 deletions
2
tests/Vagrantfile
vendored
2
tests/Vagrantfile
vendored
|
|
@ -24,10 +24,12 @@ Vagrant.configure("2") do |config|
|
|||
srv.vm.box_check_update = false
|
||||
srv.vm.post_up_message = instance.to_yaml
|
||||
srv.vm.synced_folder '../', '/home/user/Projects/apparmor.d', type: 'virtiofs'
|
||||
srv.vm.synced_folder '.', '/vagrant', disabled: true
|
||||
|
||||
# Configure Libvirt provider
|
||||
srv.vm.provider 'libvirt' do |libvirt|
|
||||
libvirt.driver = 'kvm'
|
||||
libvirt.default_prefix = 'aa-'
|
||||
libvirt.connect_via_ssh = false
|
||||
libvirt.storage_pool_name = 'default'
|
||||
libvirt.memory = instance['ram']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue