Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMware provider, windows 10 host, shared folders fail #11284

Open
Vincz opened this issue Dec 24, 2019 · 0 comments
Open

VMware provider, windows 10 host, shared folders fail #11284

Vincz opened this issue Dec 24, 2019 · 0 comments

Comments

@Vincz
Copy link

Vincz commented Dec 24, 2019

Vagrant version

2.2.6

Host operating system

Windows 10

Guest operating system

Debian 10

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :

app = {
  :name        => 'virtual',
  :ip          => '10.10.10.10',
  :box         => 'generic/debian10',
  :box_version => '~> 2.0.6'
}

Vagrant.require_version '>= 2.0.0'

Vagrant.configure(2) do |config|
  # Ssh
  config.ssh.username      = 'vagrant'
  config.ssh.forward_agent = true

  # Vm
  config.vm.box           = app[:box]
  config.vm.box_version   = app[:box_version]
  config.vm.hostname      = app[:name] + '.vrx'
  config.vm.network       'private_network', ip: app[:ip]
  config.vm.define        'localhost' do |localhost| end
  
  config.vm.provider "vmware_desktop" do |v|
    v.vmx["memsize"] = "4096"
  end

  config.vm.synced_folder 'x:/', '/x'
end

Debug output

https://gist.github.com/Vincz/0346937e983a0d8802efa0f1d8b4af8e

Expected behavior

It should add a shared folder /x from my windows drive X:\ with the default vmware sharing type

Actual behavior

It failed to add the shared folder

Steps to reproduce

  1. Try to share the root folder of a drive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants