Mount the glusterfs.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
imports = [
|
||||
./consul.nix
|
||||
./glusterfs.nix
|
||||
./glusterfs-client.nix
|
||||
./impermanence.nix
|
||||
./nomad.nix
|
||||
./sshd.nix
|
||||
|
||||
10
hosts/common/glusterfs-client.nix
Normal file
10
hosts/common/glusterfs-client.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
fileSystems."/data/compute" = {
|
||||
device = "c1:/compute";
|
||||
fsType = "glusterfs";
|
||||
options = [
|
||||
"backup-volfile-servers=c2:c3"
|
||||
"_netdev"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user