vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

VagrantPlugins::ProviderVirtualBox::SyncedFolder#share_folders

share_folders sets up the shared folder definitions on the
VirtualBox VM.

The transient parameter determines if we're FORCING transient
or not. If this is false, then any shared folders will be
shared as non-transient unless they've specifically asked for
transient.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open plugins/providers/virtualbox/synced_folder.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--SyncedFolder-share_folders-for-pr


# Commit to git

git add plugins/providers/virtualbox/synced_folder.rbgit commit -m "better docs for VagrantPlugins::ProviderVirtualBox::SyncedFolder#share_folders"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--SyncedFolder-share_folders-for-pr

hub pull-request


# Celebrate!