Setting up the QEMU Guest agent

This is needed for a variety of reasons... more later on this.

Installation on Ubuntu/Debian

As root:

  1. apt update
  2. apt upgrade
  3. apt install qemu-guest-agent
  4. apt enable qemu-guest-agent

No, we aren't starting it yet. First go to the GUI and enable QEMU on the guest.

In the ProxMox VE GUI (WEB)

  1. Select the VM
  2. Select Options for the VM
  3. Check the "Use QEMU Guest Agent" and "Run guest-trim after a disk move or VM migration" and click OK.

Now it will show the following:

qemu.png

Very important step!!!

FROM THE WEB GUI on Proxmox VE, shutdown the VM that you just configured. Wait for it to fully shutdown and then start it again. Login and check that the service is running by doing the following as root.

  1. systemctl status qemu-guest-agent

You should get something like this:

status.png

ProxMox/QemuGuestAgent (last edited 2023-05-21 16:10:35 by scot)