Linux里面判断当前系统是否运行在虚拟机机上面

April 19, 2018 | 0 Minute Read

grep hypervisor /proc/cpuinfo
grep VirtualBox /sys/class/dmi/id/board_name