Skip to content

Commit

Permalink
Allow VTPM container to access TPM devices via tpms group
Browse files Browse the repository at this point in the history
Allows the VTPM container to access the TPM devices via the tpms group
set in the additionalGids in the build.yml file.

Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
  • Loading branch information
shjala authored and eriknordmark committed Jun 27, 2024
1 parent 7541723 commit bc7ec4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/vtpm/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ config:
# created in pkg/dom0-ztools
uid: 101
gid: 101
# give container access to the host TPM device via tpms group
additionalGids: [100]
binds:
- /dev:/dev
- /run:/run
Expand Down

0 comments on commit bc7ec4b

Please sign in to comment.