nixos/colony: Use temporary LVs until SSD is replaced

This commit is contained in:
2023-01-11 20:06:09 +00:00
parent 1aa16f7de9
commit 6fe897fd3c
3 changed files with 7 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
name = lv;
backend = {
driver = "host_device";
filename = "/dev/ssds/vm-${vm}-${lv}";
filename = "/dev/hdds/tmp-vm-${vm}-${lv}";
# It appears this needs to be set on the backend _and_ the format
discard = "unmap";
};
@@ -156,7 +156,7 @@
name = "minio";
backend = {
driver = "host_device";
filename = "/dev/ssds/minio";
filename = "/dev/hdds/tmp-minio";
discard = "unmap";
};
format = {
@@ -186,7 +186,7 @@
name = "oci";
backend = {
driver = "host_device";
filename = "/dev/ssds/oci";
filename = "/dev/hdds/tmp-oci";
discard = "unmap";
};
format = {

View File

@@ -9,6 +9,8 @@
systemd = {
services = {
# TODO: get working again
hercules-ci-agent.enable = false;
hercules-ci-agent-pre =
let
deps = [ "hercules-ci-agent.service" ];