Skip to content

Commit

Permalink
Merge pull request digitalocean#112 from digitalocean/another-nfs-fixes
Browse files Browse the repository at this point in the history
Removed unnecessary script
  • Loading branch information
v-aisac authored Mar 31, 2023
2 parents 1eb6ce2 + 4743001 commit 815a72f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 35 deletions.
1 change: 0 additions & 1 deletion nfs-22-04/files/etc/update-motd.d/99-one-click
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ufw allow in on eth1 from 10.124.0.0/20 to any port nfs
Public network Access:
- By default, ufw is enabled, SSH access is enabled, and NFS access is NOT enabled.
- The script to automatically whitelist nfs port (2409) for droplets based on a tag is in ~/root. We recommend customizing nfs-whitelist.sh and running it as a cron job (or through an external system like DO functions) to manage whitelist.
Checklist:
- The volume to be exported as NFS share is available, and has ownership configured, eg. chown -R nobody:nogroup /mnt/volume_sfo3_01/
Expand Down
33 changes: 0 additions & 33 deletions nfs-22-04/files/root/nfs-whitelist.sh

This file was deleted.

1 change: 0 additions & 1 deletion nfs-22-04/scripts/010-nfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ systemctl start nfs-kernel-server
systemctl enable nfs-kernel-server

chmod +x /root/local-partition.sh
chmod +x /root/nfs-whitelist.sh

# add security
echo "y" | ufw enable
Expand Down

0 comments on commit 815a72f

Please sign in to comment.