How to check the Hyper-V hostname from RHEL VM ?
Issue
- We have a
RHEL 6/RHEL7 VMservers hosted inHYPER-V. We need to know thehostnamefrom the VM. - We host our
RHEL 7instances onHyper-V. In order to set up thevirt-whoconfig with the properhypervisor, we need a way to find out whatHyper-V hypervisortheRHELmachine is on. How can we determine theHyper-V hypervisorname from the RHEL VM it is running on ? Note we do haveLinux Integration Servicesinstalled.
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
