Skip to content

Vagrant up (2.2.2) not working in WSL #10576

Closed

Description

Image for: Description

Hi there,

On fresh install of Windows 10, fresh install of latest Vagrant, trying to create Ubuntu 18.04 VM, I get:

vagrant up
/opt/vagrant/embedded/gems/2.2.2/gems/vagrant-2.2.2/lib/vagrant/util/which.rb:37: warning: Insecure world writable dir /mnt/c in PATH, mode 040777
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The host path of the shared folder is not supported from WSL. Host
path of the shared folder must be located on a file system with
DrvFs type. Host path: .

Vagrant version

vagrant -v
Vagrant 2.2.2

Host operating system

Windows 10 Enterprise 1709

Guest operating system

Ubuntu 18.04
https://app.vagrantup.com/ubuntu/boxes/bionic64

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/bionic64"
  config.vm.provider "virtualbox" do |vb|
    vb.memory = "1024"
  # tried below line, as suggested in another bug report, but no luck
  # vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
  end
end

Debug output

https://gist.github.com/ivan-radic/9545bf66b793dff0c6794619cc7c6cd9

Expected behavior

I am looking for a workaround, if there is one.
Note that Vagrant for Windows in powershell console works fine, and successfully creates Ubuntu 18.04 machine.

If you need more info, just ask.

Thanks,
Ivan

Metadata

Image for: Metadata

Metadata

Image for: Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Image for: Issue actions