tests(packer): enable apparmor debug in tests image.

This commit is contained in:
Alexandre Pujol 2024-10-01 17:49:43 +01:00
parent 8730c09b96
commit 08a6f8fb0b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 20 additions and 8 deletions

View file

@ -79,7 +79,7 @@ write_files:
- path: /etc/default/grub
append: true
content: |
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT lsm=landlock,lockdown,yama,integrity,apparmor,bpf"
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT lsm=landlock,lockdown,yama,integrity,apparmor,bpf apparmor.debug=1"
# Set some bash aliases
- path: /etc/skel/.bashrc