-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1381 from yaacov/update-docs
Add docs about local NFS, and inotify settings
- Loading branch information
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Local NFS server for forklift CI tasks | ||
|
||
Some forklift CI tasks require an NFS server running on the localhost exporting the directory /home/nfsshare, | ||
to set up this NFS server on fedora, see the bash example below: | ||
|
||
``` bash | ||
sudo dnf install nfs-utils -y | ||
|
||
sudo mkdir -p /home/nfsshare | ||
sudo chown -R nobody:nobody /home/nfsshare | ||
sudo chmod 777 /home/nfsshare | ||
sudo bash -c 'echo "/home/nfsshare *(insecure,rw,no_root_squash)" >>/etc/exports' | ||
sudo exportfs -a | ||
|
||
sudo systemctl restart nfs-server | ||
``` |