mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #28871 from basepi/mdadm.fix.28870
[2015.5] Fix command generation for mdadm.assemble
This commit is contained in:
commit
a9dc8b6ca6
@ -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