Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Hyper-V from within WSL #8700
Vagrant 1.9.5 inside and outside WSL.
Host operating system
Windows/Bash for Windows
Guest operating system
Listed status of Hyper-V VMs.
Hyper-V was said to be unavailable.
Steps to reproduce
It's the same on the latest Version: 1.9.6
_The provider 'hyperv' that was requested to back the machine
The Hyper-V provider only works on Windows. Please try to
Thanks for looking into this.
The vagrant hyper-v provider needs access to Hyper-V powershell module -- which isn't exposed directly from WSL. Easiest thing to do is just to open a powershell prompt from WSL (/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe) and use vagrant in that manner.