lvm_vg: allow putting unmounted disks into lvm

This commit is contained in:
Sandro Jäckel 2023-03-15 20:59:55 +01:00
parent 90eb730691
commit 2682530302
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

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 {