diff --git a/mantle/cmd/kola/testiso.go b/mantle/cmd/kola/testiso.go index 2b59859ed0..e6234c7b77 100644 --- a/mantle/cmd/kola/testiso.go +++ b/mantle/cmd/kola/testiso.go @@ -245,7 +245,7 @@ Before=coreos-test-installer.service [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/bin/bash -c '[[ $(findmnt -nvro SOURCE /sysroot) == /dev/mapper/mpatha4 ]]' +ExecStart=/bin/bash -c 'lsblk -pno NAME "/dev/mapper/$(multipath -l -v 1)" | grep -qw "$(findmnt -nvr /sysroot -o SOURCE)"' [Install] RequiredBy=multi-user.target`