Fix command generation for mdadm.assemble

This commit is contained in:
Colton Myers 2015-11-13 12:21:16 -07:00
parent ec7fdc539b
commit 323bc2d2ac

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