Macchina virtuale o fisica

Per capire se si tratta di una macchina virtuale o fisica usare il comando: hostnamectl

[pippo@SERVER ~]$ hostnamectl
Static hostname: SERVER
Icon name: computer-vm
Chassis: vm
Machine ID: ea218db025cf41eea3a33dc0aa52bd66
Boot ID: 3f58b58c4d434f3a90d62e716a3997b5
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1127.el7.x86_64
Architecture: x86-64

Comments

Leave a Reply

Your email address will not be published.