- Install Vagrant for (normal) Windows (https://www.vagrantup.com/downloads.html)
- Download Vagrant for Ubuntu (
.debpackage) (https://www.vagrantup.com/downloads.html) and install it inside WSL (Bash on Windows) ((sudo) dpkg -i vagrant_<version>_x86_64.deb). - Add additional code to
~/.bashrcin WSL (Bash on Windows) (see file below). - Reload
~/.bashrc/ restart shell.
Done, Vagrant should work correctly in WSL (Bash on Windows) now.
hashicorp/vagrant#8742