This commit is contained in:
Aleksander Cynarski 2022-10-09 22:03:11 +02:00
parent 47b6ed999a
commit 9504ef340c
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

@ -71,6 +71,8 @@ mkdir /data
chmod -cR 777 /data
cat << EOF >> /etc/exports
/data ${ip_address}(rw,no_subtree_check,no_root_squash)
/data 10.11.0.0/24(rw,no_subtree_check,no_root_squash)
/data 192.168.121.0/24(rw,no_subtree_check,no_root_squash)
EOF
systemctl enable --now nfs-server
exportfs -ar