Update fs0
This commit is contained in:
@@ -7,7 +7,6 @@ let
|
|||||||
clusterName = "fs0";
|
clusterName = "fs0";
|
||||||
hosts = [
|
hosts = [
|
||||||
{ name = "fs0-0"; address = "10.253.18.106"; }
|
{ name = "fs0-0"; address = "10.253.18.106"; }
|
||||||
{ name = "fs0-1"; address = "10.1.2.83"; }
|
|
||||||
];
|
];
|
||||||
clusterHosts = ''
|
clusterHosts = ''
|
||||||
10.253.18.106 fs0-0 fs0-0.itpartner.no fs0-0.itpartner.intern
|
10.253.18.106 fs0-0 fs0-0.itpartner.no fs0-0.itpartner.intern
|
||||||
@@ -58,7 +57,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.glusterfs = {
|
services.glusterfs = {
|
||||||
enable = true;
|
enable = false;
|
||||||
tlsSettings = {
|
tlsSettings = {
|
||||||
caCert = base.pki.ca.cert;
|
caCert = base.pki.ca.cert;
|
||||||
tlsKeyPath = cert.key;
|
tlsKeyPath = cert.key;
|
||||||
@@ -78,5 +77,4 @@ let
|
|||||||
in
|
in
|
||||||
base.baseDeployment {
|
base.baseDeployment {
|
||||||
fs0-0 = fsConfig "fs0-0" {};
|
fs0-0 = fsConfig "fs0-0" {};
|
||||||
fs0-1 = fsConfig "fs0-1" {};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [ ];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "mptspi" "floppy" "sd_mod" "sr_mod" ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/06d94528-b248-490a-81ee-e83668c68afc";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
# fileSystems."/var/log" =
|
|
||||||
# { device = "/dev/disk/by-uuid/c130b88c-0699-4836-b967-47bdee0a5453";
|
|
||||||
# fsType = "ext4";
|
|
||||||
# };
|
|
||||||
fileSystems."/vol/brick0" =
|
|
||||||
{ device = "/dev/gfs_vg/brick0";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user