I have created a a Ubuntu WSL instance
wsl --install ubuntu, and installed and the Vagrant Vmware Utility
choco install vagrant-vmware-utility
I have then in WSL I have then installed Vagrant
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list sudo apt update && sudo apt install vagrant
and modified the following environment variable and path.
echo 'export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"' >> ~/.bashrc echo 'export PATH="$PATH:/mnt/c/Program Files (x86)/VMware/VMware Workstation"' >> ~/.bashrc source ~/.bashrc
However when I try using
vagrant up I get the following error.
Vagrant encountered an unexpected communications error with the Vagrant VMware Utility driver. Please try to run the command again. If this error persists, please open a new issue at: https://github.com/hashicorp/vagrant-vmware-desktop/issue
Any ideas on how I could fix this (or what I am doing wrong )?