I installed Debian in a WSL environment, and ran some setup scripts I use
in other environments.  Because
virt-what miss-identified a wsl environment as a 'hyperv' VM my scripts
made changes that broke the WSL environment.

It would be nice if virt-what would identify a wsl environment as 'wsl'
instead of 'hyperv'.

Per Microsoft this link it should be possible to detect wsl if the contents
of `/proc/version` has a value of `.*Microsoft$`.

Links:

- https://github.com/Microsoft/WSL/issues/423#issuecomment-221627364

Thanks
_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to