mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 10:27:22 +08:00
Change condition for OverlayFS warning in disk.sh
This commit is contained in:
parent
a89007ee03
commit
31e549a44b
@ -346,7 +346,7 @@ checkFS () {
|
||||
DIR=$(dirname "$DISK_FILE")
|
||||
[ ! -d "$DIR" ] && return 0
|
||||
|
||||
if [[ "${FS,,}" == "overlay"* && "$PODMAN" != [Yy1]* ]]; then
|
||||
if [[ "${FS,,}" == "overlay"* && "${ENGINE,,}" == "docker" ]]; then
|
||||
warn "the filesystem of $DIR is OverlayFS, this usually means it was binded to an invalid path!"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user