Merge pull request #177 from SuperSandro2000/lvm-mountless-disks

lvm_vg: allow putting unmounted disks into lvm
This commit is contained in:
Lassulus 2023-03-16 03:34:28 +07:00 committed by GitHub
commit e8650fc36b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@
vgchange -a y vgchange -a y
${lib.concatMapStrings (x: x.dev or "") (lib.attrValues lvMounts)} ${lib.concatMapStrings (x: x.dev or "") (lib.attrValues lvMounts)}
''; '';
fs = lvMounts.fs; fs = lvMounts.fs or { };
}; };
}; };
_config = lib.mkOption { _config = lib.mkOption {