nfsroot: restore microvm.volumes

This commit is contained in:
Astro 2022-06-17 00:05:32 +02:00
parent a723dcacd6
commit 34685b7231
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ in {
microvm = {
hypervisor = "cloud-hypervisor";
mem = 2048;
volumes = map (export: {
mountPoint = "/${export}";
image = "/dev/zvol/server10/vm/nfsroot/${builtins.baseNameOf export}";
autoCreate = false;
}) nfsExports;
};
c3d2.deployment = {
server = "server10";