Method: Vagrant::Guest::Base#mount_shared_folder

Defined in:
lib/vagrant/guest/base.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:



66
67
68
# File 'lib/vagrant/guest/base.rb', line 66

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