feat(profiles): add and merge some cni profiles.

This commit is contained in:
Alexandre Pujol 2022-07-10 14:24:09 +01:00
parent 4f7cf8d90e
commit d8449de55e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 69 additions and 12 deletions

View file

@ -6,13 +6,13 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /opt/cni/bin/loopback
profile loopback @{exec_path} {
@{exec_path} = /{usr/,}lib/cni/loopback /opt/cni/bin/loopback
profile cni-loopback @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
include if exists <local/loopback>
include if exists <local/cni-loopback>
}