Update CRI-O storage driver support
Some storage drivers seems to be missing which are now supported by CRI-O. Beside that, we removed the non-existing overlay2 driver. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
10bce1cd55
commit
7eeb4d0476
2
fs/fs.go
2
fs/fs.go
@ -283,7 +283,7 @@ func (self *RealFsInfo) addCrioImagesLabel(context Context, mounts []*mount.Info
|
|||||||
crioImagePaths := map[string]struct{}{
|
crioImagePaths := map[string]struct{}{
|
||||||
"/": {},
|
"/": {},
|
||||||
}
|
}
|
||||||
for _, dir := range []string{"overlay", "overlay2"} {
|
for _, dir := range []string{"devicemapper", "btrfs", "aufs", "overlay", "zfs"} {
|
||||||
crioImagePaths[path.Join(crioPath, dir+"-images")] = struct{}{}
|
crioImagePaths[path.Join(crioPath, dir+"-images")] = struct{}{}
|
||||||
}
|
}
|
||||||
for crioPath != "/" && crioPath != "." {
|
for crioPath != "/" && crioPath != "." {
|
||||||
|
Loading…
Reference in New Issue
Block a user