mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
Merge pull request #23 from Baitinq/master
This commit is contained in:
commit
1be70de384
@ -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}
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user