From a218d05bb8f93cea4c62a16c6bd9e0e5aa569b53 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 3 Dec 2021 23:41:23 +0100 Subject: [PATCH] storage-ng: try to mount any of the ceph-mon servers --- hosts/storage-ng/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/storage-ng/default.nix b/hosts/storage-ng/default.nix index 5fcd210d..5b59874c 100644 --- a/hosts/storage-ng/default.nix +++ b/hosts/storage-ng/default.nix @@ -70,7 +70,7 @@ in # secretfile does not work :( fileSystems."/mnt/cephfs" = { - device = "172.22.99.13:6789:/"; + device = "${lib.concatMapStringsSep "," (i: hostRegistry.hosts."server${i}".ip4) [ "3" "4" "5" "6" "7" "8" ]}:/"; fsType = "ceph"; options = [ "name=storage2"