Add microvm data dirs
(untested because virtiofs mounts currently dont work)
This commit is contained in:
@@ -252,6 +252,10 @@ in
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/data";
|
||||
};
|
||||
"encrypted/data/microvm" = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/data/microvm";
|
||||
};
|
||||
reserved = {
|
||||
# for cow delete if pool is full
|
||||
options = {
|
||||
|
||||
@@ -70,6 +70,13 @@ rec {
|
||||
proto = "virtiofs";
|
||||
socket = "var.socket";
|
||||
}
|
||||
{
|
||||
source = "/var/lib/microvms/data/${hostName}";
|
||||
mountPoint = "/data";
|
||||
tag = "data";
|
||||
proto = "virtiofs";
|
||||
socket = "microdata.socket";
|
||||
}
|
||||
];
|
||||
|
||||
interfaces = [
|
||||
|
||||
Reference in New Issue
Block a user