Vagrant a full WSL2

Maybe this is too crazy:

I was thinking today if, with Vagrant (and Ansible), I could automate the process of creating new WSL instances of the same distro.

Essentially, the idea is the same as when we install a new Virtualbox VM or a new Docker container. Automating the whole process....

I've read multiple users using WSL2 just to run Vagrant to automate the process of new VirtualBox VMs but the nice thing would be to straightly install new WSL 2 instances. Maybe the problem of this, is that is not "portable" enough, since WSL 2 is just a Windows feature.

1 thought on “Vagrant a full WSL2”

Leave a Comment