-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow device access when loading OCI spec from file
Since the update to runc v1.1.0 and containerd v1.6.1 in 158cecd we need to explicitly allow device access in the OCI config. This is done when generating a new OCI spec. However, when loading an OCI config from a file, we need to make sure that the device access is added, because older OCI configs may lack this configuration. Signed-off-by: Paul Gaiduk <[email protected]> (based on cherry picked commit 17d9a41) Signed-off-by: Paul Gaiduk <[email protected]>
- Loading branch information
1 parent
6b07850
commit c2d7f3a
Showing
2 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters