mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
disk-deactivate: support all raid types
This commit is contained in:
parent
7036bb8b30
commit
7304727801
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def deactivate:
|
|||
[
|
||||
"lvremove -fy \($vgname)/\($lvname)"
|
||||
]
|
||||
elif .type == "raid1" then
|
||||
elif (.type | contains("raid")) then
|
||||
[
|
||||
"mdadm --stop \(.name)"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue