Skip to content

Instantly share code, notes, and snippets.

@akofink
Forked from johnpmitsch/virt-who.md
Created September 11, 2018 17:56
Show Gist options
  • Save akofink/8292fe1b73d217163f1913eb3cb32917 to your computer and use it in GitHub Desktop.
Save akofink/8292fe1b73d217163f1913eb3cb32917 to your computer and use it in GitHub Desktop.
virt-who installation for katello (to get hypervisor guests)

On hypervisor (probably your workstation)

  1. yum install virt-who

  2. Edit /etc/virt-who.d/test.conf and update the rhsm_hostname, rhsm_username, rhsm_password (use dev server credentials)

[libvirt]
type=libvirt
server=qemu:///system
owner=Default_Organization
env=Library
hypervisor_id=hostname
rhsm_hostname=dev.example.com

rhsm_proxy_hostname=""
rhsm_username=admin
rhsm_password=changeme
rhsm_prefix=/rhsm
  1. virt-who -od
  2. check katello server content hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment