- Install the Windows Subsystem for Linux
- Install ansible and CredSSP
$ sudo apt-get update
$ sudo apt-get install python-pip git libffi-dev libssl-dev -y
$ pip install ansible 'pywinrm[credssp]'
$ wget https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.deb
$ sudo dpkg -i vagrant_2.0.0_x86_64.deb
$ export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
- Add to ~/.bashrc
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
- Add path to vboxmanage.exe to windows PATH
- Then start the vm
$ vagrant up