modules/cluster/deployment: fix path to glusterfs

This commit is contained in:
Astro 2022-11-17 17:47:47 +01:00
parent e1bce38ce4
commit 330aea7cae
1 changed files with 2 additions and 2 deletions

View File

@ -50,11 +50,11 @@ in
tag = builtins.replaceStrings [ "/" ] [ "-" ] ( tag = builtins.replaceStrings [ "/" ] [ "-" ] (
withoutLeadingSlash mountPoint withoutLeadingSlash mountPoint
); );
source = "/storage/glusterfs/microvms/${user}/${repo}/${vmName}/${withoutLeadingSlash mountPoint}"; source = "/glusterfs/fast/microvms/${user}/${repo}/${vmName}/${withoutLeadingSlash mountPoint}";
inherit mountPoint; inherit mountPoint;
}) config.deployment.persistedShares; }) config.deployment.persistedShares;
# volumes = [ { # volumes = [ {
# image = "/storage/glusterfs/microvms/${user}/${repo}/${vmName}/overlay.img"; # image = "/glusterfs/fast/microvms/${user}/${repo}/${vmName}/overlay.img";
# mountPoint = "/"; # mountPoint = "/";
# size = 8 * 1024; # size = 8 * 1024;
# } ]; # } ];