Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukaszkorecki/nfs-server
Cookbook for setting up nfs server and exposing a set of directories. Intended for use with Vagrant
https://github.com/lukaszkorecki/nfs-server
Last synced: 21 days ago
JSON representation
Cookbook for setting up nfs server and exposing a set of directories. Intended for use with Vagrant
- Host: GitHub
- URL: https://github.com/lukaszkorecki/nfs-server
- Owner: lukaszkorecki
- License: mit
- Created: 2014-06-14T20:17:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-25T15:53:17.000Z (over 10 years ago)
- Last Synced: 2024-10-24T02:55:52.602Z (2 months ago)
- Language: Ruby
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nfs-server cookbook
Tiny cookbook for setting up nfs server and exposing a set of directories.
Intended for use with Vagrant## Setup
Couple of notes:
- it was tested with Ubuntu 12.04 (Precise)
- it allows exposing only one directory (but it can be Vagrat user's home dir!)There are two attributes which might need to be set depending on your setup.
> I'm assuming that your Vagrant VM is accessible on IP `192.168.33.10` and your VM
username is `vagrant`.```json
{
"nfs-server" : {
"ip-range" : "192.168.33.*",
"mount-point" : "/home/vagrant/src"}
}
```Then simply include `recipe[nfs-server]` in your run list and provision your
machine.Once chef run is complete your share is accessible at:
`nfs://192.168.33.10/home/vagrant/src`
# License
The MIT License (MIT)Copyright (c) 2014 Łukasz Korecki