Can I install oVirt Guest Agent on CentOS 8 / RHEL 8 Linux guest?. The oVirt / Red Hat Virtualization guest agent provides information, notifications, and actions between the oVirt web interface and the guest. The agent provides the Machine Name, Operating System, IP Addresses, Installed Applications, Network and RAM usage among other Virtual Machine information to the web interface.

On CentOS 7 / RHEL 7, the package to be installed is called ovirt-guest-agent. This has changed in CentOS 8 / RHEL 8, as it is referred by the name qemu-guest-agent . So how can you install oVirt Guest Agent and Drivers on CentOS 8 / RHEL 8?.

Install oVirt Guest Agent on CentOS 8

On CentOS 8, run the following commands to install oVirt Guest Agent:

sudo yum -y install qemu-guest-agent

Install and enable the service:

sudo systemctl enable --now qemu-guest-agent

Check service status to ensure it is running:

$ systemctl status qemu-guest-agent
● qemu-guest-agent.service - QEMU Guest Agent
   Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-01-03 15:02:16 EAT; 24min ago
 Main PID: 756 (qemu-ga)
    Tasks: 1 (limit: 23985)
   Memory: 2.7M
   CGroup: /system.slice/qemu-guest-agent.service
           └─756 /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 --blacklist=guest-file-open,guest-file-close,g>

Jan 03 15:02:16 localhost.localdomain systemd[1]: Started QEMU Guest Agent.

Install oVirt Guest Agent on RHEL 8

For a RHEL 8 machine, you’re required to enable the Red Hat Virtualization Agent repository:

sudo subscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpms

Once this is done, install the package:

sudo yum -y install qemu-guest-agent

Ensure the service is started and running:

sudo systemctl start qemu-guest-agent
sudo systemctl enable qemu-guest-agent

Check the status:

$ systemctl status qemu-guest-agent

For CentOS 7 and Debian/Ubuntu, check: installing ovirt guest agent on Linux