mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
disk-deactivate: support all raid types
This commit is contained in:
parent
7036bb8b30
commit
7304727801
@ -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 New Issue
Block a user