test(packer): configure shared directory directly in the image.
This way, we do not always need to use vagrant to start a vm.
This commit is contained in:
parent
c707b730ef
commit
bac9658293
10 changed files with 53 additions and 16 deletions
2
tests/Vagrantfile
vendored
2
tests/Vagrantfile
vendored
|
|
@ -26,7 +26,7 @@ Vagrant.configure("2") do |config|
|
|||
srv.vm.post_up_message = instance.to_yaml
|
||||
srv.vm.synced_folder '.', '/vagrant', disabled: true
|
||||
if !ENV['AA_INTEGRATION']
|
||||
srv.vm.synced_folder '../', '/home/user/Projects/apparmor.d', type: 'virtiofs'
|
||||
srv.vm.synced_folder '../', '/home/user/Projects/apparmor.d', type: 'virtiofs', mount: false
|
||||
end
|
||||
|
||||
# Configure Libvirt provider
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue