Fix find_multipaths test

This commit is contained in:
Benjamin Marzinski 2023-11-30 15:20:21 -05:00
parent 88821a8d11
commit d8dc1bda73

View File

@ -40,6 +40,7 @@ rpm -q device-mapper-multipath || yum install -y device-mapper-multipath
# test with find_multipath=y, will not multipath for the single device; reload/start the service to enable the config
cleanup
trun "rm -f /etc/multipath.conf"
trun "rm -f /etc/multipath/wwids"
trun "mpathconf --enable --user_friendly_names y --find_multipaths y --with_multipathd n"
sed -i '/^blacklist[[:space:]]*{/ a\
device {\n vendor ".*"\n product ".*"\n }