nfsroot: restore microvm.volumes
This commit is contained in:
parent
a723dcacd6
commit
34685b7231
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue