1
0

fix: search in source volumes not destination ones

This commit is contained in:
dump_stack() 2023-05-23 09:34:29 +00:00
parent 14320faca8
commit ff7bed76f2
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -416,9 +416,9 @@ func listContainersKernels(dii container.Image, newkcfg *config.KernelConfig,
for _, volume := range c.Volumes {
switch volume.Dest {
case "/lib/modules":
libmodules = volume.Dest
libmodules = volume.Src
case "/boot":
boot = volume.Dest
boot = volume.Src
}
}