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:
Alexandre Pujol 2024-03-08 13:13:00 +00:00
parent c707b730ef
commit bac9658293
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 53 additions and 16 deletions

View file

@ -85,3 +85,9 @@ write_files:
append: true
content: |
[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases
# Setup shared directory
- path: /etc/fstab
append: true
content: |
0a31bc478ef8e2461a4b1cc10a24cc4 /home/user/Projects/apparmor.d virtiofs defaults 0 1