vagrant-nfs-wsl

Manage and adds support for NFS on WSL.


License
Apache-2.0
Install
gem install vagrant-nfs-wsl -v 1.0.0

Documentation

Vagrant Hanewin NFS

Manage and adds support for NFS on Windows under WSL.

Supported Platforms

Only tested with Vagrant 2.2.0 or later

Supported guests:

  • Linux

Requirements

  • How to run Vagrant with WSL - tutorial
    • Basically you have to install the same version of Vagrant on Windows and on WSL and then connect them.
  • Install Hanewin to C:\Program Files\nfsd\
  • Mount Windows drives in wsl under root /.
    • For Windows 10 18.03+ or newer edit /etc/wsl.conf like this:
      [automount]
      root = /
      options = "metadata"
      
    • For Windows 10 older than 18.03 run
      sudo mkdir /c
      add at the end of .bashrc this:
      sudo mount --bind /mnt/c /c

Installation

$ vagrant plugin install vagrant-nfs-wsl

Hanewin NFS

You need to install Hanewin NFS Server to use this plugin. Hanewin NFS is shareware and can be evaluated for 30 days.

You can get it here:

http://www.hanewin.de/nfs-d.htm

Thanks to