nfs
This commit is contained in:
parent
47b6ed999a
commit
9504ef340c
@ -71,6 +71,8 @@ mkdir /data
|
|||||||
chmod -cR 777 /data
|
chmod -cR 777 /data
|
||||||
cat << EOF >> /etc/exports
|
cat << EOF >> /etc/exports
|
||||||
/data ${ip_address}(rw,no_subtree_check,no_root_squash)
|
/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
|
EOF
|
||||||
systemctl enable --now nfs-server
|
systemctl enable --now nfs-server
|
||||||
exportfs -ar
|
exportfs -ar
|
||||||
|
Loading…
Reference in New Issue
Block a user