Merge pull request #5902 from dweomer/rke2-690-on-main
cri: filter selinux xattr for image volumes
This commit is contained in:
commit
f43f22966d
@ -115,5 +115,5 @@ func copyExistingContents(source, destination string) error {
|
||||
if len(dstList) != 0 {
|
||||
return errors.Errorf("volume at %q is not initially empty", destination)
|
||||
}
|
||||
return fs.CopyDir(destination, source)
|
||||
return fs.CopyDir(destination, source, fs.WithXAttrExclude("security.selinux"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user