mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
disk-deactivate: support all raid types
This commit is contained in:
1 parent
7036bb8b30
commit
7304727801
1 file changed
+1
-1
@@ -43,7 +43,7 @@ def deactivate:
|
||||
[
|
||||
"lvremove -fy \($vgname)/\($lvname)"
|
||||
]
|
||||
elif .type == "raid1" then
|
||||
elif (.type | contains("raid")) then
|
||||
[
|
||||
"mdadm --stop \(.name)"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user