Method: Vagrant::Plugin::V2::Guest#mount_shared_folder

Defined in:
lib/vagrant/plugin/v2/guest.rb

#mount_shared_folder(name, guestpath, options) ⇒ Object

Mounts a shared folder.

This method should create, mount, and properly set permissions on the shared folder. This method should also properly adhere to any configuration values such as shared_folder_uid on config.vm.

Parameters:

  • name (String)

    The name of the shared folder.

  • guestpath (String)

    The path on the machine which the user wants the folder mounted.

  • options (Hash)

    Additional options for the shared folder which can be honored.

Raises:



58
59
60
# File 'lib/vagrant/plugin/v2/guest.rb', line 58

def mount_shared_folder(name, guestpath, options)
  raise BaseError, :_key => :unsupported_shared_folder
end