set nfs4
This commit is contained in:
parent
c32470ae68
commit
fb5dcb5717
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 2049 ];
|
||||
networking.firewall.allowedTCPPorts = [ 111 2049 ];
|
||||
fileSystems."/export/containers" = {
|
||||
device = "/Velaris/Containers";
|
||||
options = [ "bind" ];
|
||||
|
|
@ -12,8 +12,8 @@
|
|||
mountdPort = 4002;
|
||||
statdPort = 4000;
|
||||
exports = ''
|
||||
/export 10.5.0.2(rw,fsid=0,no_subtree_check)
|
||||
/export/containers 10.5.0.2(rw,nohide,insecure,no_subtree_check)
|
||||
/export 10.5.0.2(rw,fsid=0,no_subtree_check,vers=4)
|
||||
/export/containers 10.5.0.2(rw,nohide,insecure,no_subtree_check,vers=4)
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue