virt-what: virt-what should not report systems running in a WSL environment as hyperv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux