Sha256: 9239de4d424ac26c0354b354313d9fea4c5fe7f458acef8248caf97dd8058ba8

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 Bytes

Contents

module VagrantWindows
  module Guest
    module Cap
      class MountVMwareSharedFolder

        def self.mount_vmware_shared_folder(machine, name, guestpath, options)
          share_name = VagrantWindows::Helper.win_friendly_share_id(name)
          mount_script = VagrantWindows.load_script_template("mount_volume.vmware.ps1",
            :options => {:mount_point => guestpath, :share_name => share_name})
          machine.communicate.execute(mount_script, {:shell => :powershell})
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
vagrant-plugin-dummy-0.0.7 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-plugin-dummy-0.0.6 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-plugin-dummy-0.0.5 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-plugin-dummy-0.0.4 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-plugin-dummy-0.0.3 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-plugin-dummy-0.0.1 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-plugin-dummy-0.0.2 windows/guest/cap/mount_vmware_shared_folder.rb
vagrant-windows-1.2.0 lib/vagrant-windows/guest/cap/mount_vmware_shared_folder.rb