If you want to check if the machine you are working on is virtual or physical, issue the command:
# hostnamectl
or type:
# dmidecode -s system-Manufacturer
If you want to check if the machine you are working on is virtual or physical, issue the command:
# hostnamectl
or type:
# dmidecode -s system-Manufacturer