Update fs0

This commit is contained in:
Jonas Juselius
2020-10-29 17:39:02 +01:00
parent cd3dc8390d
commit f8840fb20d
2 changed files with 3 additions and 35 deletions

View File

@@ -7,7 +7,6 @@ let
clusterName = "fs0";
hosts = [
{ name = "fs0-0"; address = "10.253.18.106"; }
{ name = "fs0-1"; address = "10.1.2.83"; }
];
clusterHosts = ''
10.253.18.106 fs0-0 fs0-0.itpartner.no fs0-0.itpartner.intern
@@ -58,7 +57,7 @@ let
};
services.glusterfs = {
enable = true;
enable = false;
tlsSettings = {
caCert = base.pki.ca.cert;
tlsKeyPath = cert.key;
@@ -67,8 +66,8 @@ let
};
services.nfs.server = {
enable=true;
exports= ''
enable = true;
exports = ''
/vol/brick0/nfs0 10.253.18.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash)
'';
};
@@ -78,5 +77,4 @@ let
in
base.baseDeployment {
fs0-0 = fsConfig "fs0-0" {};
fs0-1 = fsConfig "fs0-1" {};
}