Skip to content

Plugin allows Vagrant to properly use VirtualBox as a provider from WSL2.

License

Notifications You must be signed in to change notification settings

Karandash8/virtualbox_WSL2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VirtualboxWSL2

A plugin for Vagrant that fixes vagrant up and vagrant ssh when executed from WSL2.

Two things happen on top of normal Vagrant behavior:

  • the second port forwarding entry is created on 0.0.0.0 that allows to ssh to VirtualBox VM from WSL2 on Windows IP.
  • Windows IP is automatically selected for vagrant ssh command instead of localhost.

Installation

vagrant plugin install virtualbox_WSL2

Usage

Nothing special, just use standard vagrant up and vagrant ssh commands.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/karandash8/virtualbox_WSL2.

About

Plugin allows Vagrant to properly use VirtualBox as a provider from WSL2.

Resources

License

Stars

Watchers

Forks

Packages

No packages published