Fix find_multipaths test
This commit is contained in:
parent
88821a8d11
commit
d8dc1bda73
@ -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
|
# test with find_multipath=y, will not multipath for the single device; reload/start the service to enable the config
|
||||||
cleanup
|
cleanup
|
||||||
trun "rm -f /etc/multipath.conf"
|
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"
|
trun "mpathconf --enable --user_friendly_names y --find_multipaths y --with_multipathd n"
|
||||||
sed -i '/^blacklist[[:space:]]*{/ a\
|
sed -i '/^blacklist[[:space:]]*{/ a\
|
||||||
device {\n vendor ".*"\n product ".*"\n }
|
device {\n vendor ".*"\n product ".*"\n }
|
||||||
|
Loading…
Reference in New Issue
Block a user