mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
Merge pull request #23 from Baitinq/master
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -92,7 +92,7 @@ let
|
||||
'';
|
||||
|
||||
create.lv = q: x: ''
|
||||
lvcreate -L ${x.size} -n ${q.name} ${q.vgname}
|
||||
lvcreate ${if hasInfix "%" x.size then "-l" else "-L"} ${x.size} -n ${q.name} ${q.vgname}
|
||||
${create-f { device = "/dev/mapper/${q.vgname}-${q.name}"; } x.content}
|
||||
'';
|
||||
|
||||
|
||||
Reference in new issue
Block a user