vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.

  • 所有者: winnfsd/vagrant-winnfsd
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Vagrant WinNFSd

Manage and adds support for NFS on Windows.

Supported Platforms

As of version 1.0.6 or later Vagrant 1.5 is required. For Vagrant 1.4 please use the plugin version 1.0.5 or lower.

Supported guests:

  • Linux

Installation

$ vagrant plugin install vagrant-winnfsd

Activate NFS for Vagrant

To activate NFS for Vagrant see: http://docs.vagrantup.com/v2/synced-folders/nfs.html

The plugin extends Vagrant in the way that you can use NFS also with Windows. So the following hint on the Vagrant documentation page is no longer true:

Windows users: NFS folders do not work on Windows hosts. Vagrant will ignore your request for NFS synced folders on Windows.

You will also need to declare some sort of network in order for NFS to work (the VirtualBox implied network will not work). Luckily this is easily done by adding the following line to your Vagrantfile:

# A private dhcp network is required for NFS to work (on Windows hosts, at least)
config.vm.network "private_network", type: "dhcp"

Settings

Logging

You can activate the logging of the NFS daemon which will show the daemon window in the foreground. To activate the logging set the config.winnfsd.logging to on.

Set uid and gid

You can set the uid via the config.winnfsd.uid param and the gid via the config.winnfsd.gid param. Example:

Vagrant.configure('2') do, config, config.winnfsd.uid = 1
    config.winnfsd.gid = 1
end

Note that will be set global, that means the uid and gid is taken from the first box which starts the NFS daemon. If a box with an other uid or gid is started after that the option will be ignored.

主要指标

概览
名称与所有者winnfsd/vagrant-winnfsd
主编程语言Ruby
编程语言Ruby (语言数: 3)
平台
许可证Other
所有者活动
创建于2013-12-12 15:50:53
推送于2022-10-06 08:12:50
最后一次提交2022-10-06 10:12:50
发布数18
最新版本名称1.3.1 (发布于 )
第一版名称v1.0.0 (发布于 2013-12-12 17:24:21)
用户参与
星数570
关注者数26
派生数61
提交数52
已启用问题?
问题数129
打开的问题数58
拉请求数10
打开的拉请求数1
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?