Skip to content

Commit f91e0ba

Browse files
committed
Explicitly add erofs as a support mount type
Prevent a custom erofs mount handler in containerd from performing erofs mounts. Signed-off-by: Derek McGowan <derek@mcg.dev>
1 parent b927e70 commit f91e0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/shim/manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (m manager) Info(ctx context.Context, optionsR io.Reader) (*types.RuntimeIn
333333
//Revision: version.Revision,
334334
},
335335
Annotations: map[string]string{
336-
"containerd.io/runtime-allow-mounts": "mkdir/*,format/*",
336+
"containerd.io/runtime-allow-mounts": "mkdir/*,format/*,erofs",
337337
},
338338
}
339339
// TODO: Get features list from run_vminitd

0 commit comments

Comments
 (0)