Closed GeekCornerGH closed 1 month ago
Please try
{
"type": "command",
"text": "systemd-detect-virt",
"key": "Virtualization"
}
IIRC host
module should already work in most cases.
Please try
{ "type": "command", "text": "systemd-detect-virt", "key": "Virtualization" }
It indeed did the trick sorry for wasting your time
Be sure to read FAQ before submitting a new issue.
Wanted features:
To the best of my knowledge, most systems are running
systemd
. This packages comes with a command calledsystemd-detect-virt
, returning virtualization type. For example:kvm
,lxc
,none
(dedicated), and many more (below's a list of the supported values).List of possible values
``` none kvm amazon qemu bochs xen uml vmware oracle microsoft zvm parallels bhyve qnx acrn powervm vm-other systemd-nspawn lxc-libvirt lxc openvz docker podman rkt wsl proot pouch container-other ```Motivation:
We're listing many things here, but it'd be nice to show the virtualization type too.