How to check the Hyper-V hostname from RHEL VM ?
Issue
- We have a
RHEL 6/RHEL7 VM
servers hosted inHYPER-V
. We need to know thehostname
from the VM. - We host our
RHEL 7
instances onHyper-V
. In order to set up thevirt-who
config with the properhypervisor
, we need a way to find out whatHyper-V hypervisor
theRHEL
machine is on. How can we determine theHyper-V hypervisor
name from the RHEL VM it is running on ? Note we do haveLinux Integration Services
installed.
Environment
- Red Hat Enterprise Linux 7.x
- Red Hat Enterprise Linux 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.