]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "detect-virt: also detect "microsoft" as WSL"
authorLuca Boccassi <luca.boccassi@microsoft.com>
Mon, 27 Apr 2020 11:04:35 +0000 (12:04 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Apr 2020 11:13:12 +0000 (13:13 +0200)
commit4096043f05b5e9e5c306ea24d34fcc4e2977e18d
tree695eefcfab54ba30879b5f355fab9c2d49606f7f
parent7229ec02ab3a7f498b93158b500e697838ccdd9b
Revert "detect-virt: also detect "microsoft" as WSL"

WSL2 will soon (TM) include the "WSL2" string in /proc/sys/kernel/osrelease
so the workaround will no longer be necessary.
We have several different cloud images which do include the "microsoft"
string already, which would break this detection. They are for internal
usage at the moment, but the userspace side can come from all over the
place so it would be quite hard to track and downstream-patch to avoid
breakages.

This reverts commit a2f838d59075a49b012f9b7056664f7ffeed44d2.
src/basic/virt.c