Skip to content

Instantly share code, notes, and snippets.

@wolfspider
Last active February 15, 2020 07:07
Show Gist options
  • Select an option

  • Save wolfspider/0aefc9c50312ec9a2d759eac77001f1e to your computer and use it in GitHub Desktop.

Select an option

Save wolfspider/0aefc9c50312ec9a2d759eac77001f1e to your computer and use it in GitHub Desktop.
Xhyve Mac OS NFS Instructions
***Super Simple XHyve NFS instructions***
1. Create a user account with the same login as MacOS account and add to group "wheel"
2. edit /etc/exports and add line to allow all clients to connect to host with specific user (for example):
/usr/home/jessebennett -alldirs -maproot=jessebennett
3. change the file /etc/rc.conf to enable nfs daemon on startup add these to the file:
# Start NFS server
nfs_server_enable="YES"
4. set permissions recursively in folder you intend to work on with chmod:
chown -R <user> <foldername>
5. start your NFS service with the "service" command:
sudo service nfsd start
6. On MacOS Host open Finder and select "Go" in menu and "Connect to Server..."
7. Enter address as in the following format (for example):
nfs://192.168.64.2/usr/home/jessebennett
Done!
**Do some extra checks see if VSCode can open folder, see if XCode errors if you edit a file in it-
no errors and you are good to go**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment