webdevops / vagrant-docker-vm

:computer: Development Vagrant VM with Docker, Samba and Mail sandbox (customizable)
https://webdevops.io/projects/vagrant-docker-vm/
MIT License
87 stars 28 forks source link

Finalization of vm.yml #62

Closed mblaschke closed 9 years ago

mblaschke commented 9 years ago

Remove configuration options from Vagrantfile and move all to vm.yml

elmar-hinz commented 9 years ago

Would it be possible to add customizable mounts in this step?

In example I need to mount: /Volumes/Work -> /Volumes/Work by NFS.

Maybe generally mount /Volumes/ -> /Volumes/ on OS X? But that isn't that easy.

This does work:

config.vm.synced_folder "/Volumes/Work/", "/Volumes/Work/", :nfs => { :mount_options => [ "dmode=775", "fmode=774" ] }

This doesn't:

config.vm.synced_folder "/Volumes/", "/Volumes/", :nfs => { :mount_options => [ "dmode=775", "fmode=774" ] }

There is automounting the the way.

mblaschke commented 9 years ago

There will be a array with shared folders: https://github.com/webdevops/vagrant-development/blob/feature/refactor-vagrantfile/vm.yml#L79

elmar-hinz commented 9 years ago

Awesome!

mblaschke commented 9 years ago

Fixed with f3636213da4ec2daa9c0cad4f826689713101f4f