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

@ -40,6 +40,12 @@ write_files:
append: true
content: deb http://deb.debian.org/debian bookworm-backports main contrib non-free
# Setup shared directory
- path: /etc/fstab
append: true
content: |
0a31bc478ef8e2461a4b1cc10a24cc4 /home/user/Projects/apparmor.d virtiofs defaults 0 1
# Network configuration
- path: /etc/systemd/network/20-wired.network
owner: 'root:root'