Mask /sys/devices/virtual/powercap by default

This mimics #5111 but without the vendor update, which is very
large on this branch.

[NO NEW TESTS NEEDED] This cannot be tested in CI as cloud
providers already don't provide these interfaces in their VMs.

Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
Matt Heon 2023-10-30 10:37:37 -04:00 committed by openshift-cherrypick-robot
parent ca5131d0f1
commit 2d55e6ba5d
1 changed files with 1 additions and 0 deletions

View File

@ -1955,6 +1955,7 @@ func setupMaskedPaths(g *generate.Generator) {
"/sys/firmware",
"/sys/fs/selinux",
"/sys/dev",
"/sys/devices/virtual/powercap",
} {
g.AddLinuxMaskedPaths(mp)
}