Install imvirt by entering the following commands in the terminal:
sudo apt update sudo apt install imvirt
Description:
detects several virtualizations
This Perl script tries to detect if it is run in a virtualization container. . In this version it is able to detect the following virtualization technologies: ARAnyM KVM lguest LXC OpenVZ/Virtuozzo QEMU UML VMware GSX, ESX, Workstation Virtual PC/Virtual Server VirtualBox Xen (para and non-para virtualized) . And much more.
Homepage: http://micky.ibh.net/~liske/imvirt.html
Version: 0.9.6-4
Section: universe/admin