mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix command generation for mdadm.assemble
This commit is contained in:
parent
ec7fdc539b
commit
323bc2d2ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user