Skip to content

Commit

Permalink
feat(machined): do not drop SYS_MODULE
Browse files Browse the repository at this point in the history
It is needed by the nvidia operator machinery.

Signed-off-by: Jean-Francois Roy <[email protected]>
  • Loading branch information
jfroy committed Sep 18, 2024
1 parent 806b6aa commit f37efac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/machinery/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,7 @@ var Overlays = []string{

// DefaultDroppedCapabilities is the default set of capabilities to drop.
var DefaultDroppedCapabilities = map[string]struct{}{
"cap_sys_boot": {},
"cap_sys_module": {},
"cap_sys_boot": {},
}

// UdevdDroppedCapabilities is the set of capabilities to drop for udevd.
Expand Down

0 comments on commit f37efac

Please sign in to comment.