Skip to content

WSL2 Provider

The WSL2 provider allows you to manage Windows Subsystem for Linux distributions as if they were VMs.

Configuration

wsl2:
  distro: Ubuntu-22.04
  ssh_link: true

Usage Notes

  • SSH Linking: If ssh_link: true is set, cloudmesh-ai-vm will attempt to symbolically link your host's .ssh directory into the WSL2 distribution. This allows you to share your SSH keys and config between Windows and Linux seamlessly.

Examples

cmx vm set wsl2
cmx vm start