Merge pull request #28871 from basepi/mdadm.fix.28870

[2015.5] Fix command generation for mdadm.assemble
This commit is contained in:
Colton Myers 2015-11-13 14:54:33 -07:00
commit a9dc8b6ca6

View File

@ -344,7 +344,7 @@ def assemble(name,
if isinstance(devices, str):
devices = devices.split(',')
cmd = ['mdadm', '-A', name, '-v', opts] + devices
cmd = ['mdadm', '-A', name, '-v'] + opts + devices
if test_mode is True:
return cmd