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:
Sascha Grunert 2019-10-25 09:45:01 +02:00
parent 10bce1cd55
commit 7eeb4d0476
No known key found for this signature in database
GPG Key ID: 8CE029DD1A866E52

View File

@ -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 != "." {