QEMU Guest Agent Install
Install QEMU Guest Agent on Ubuntu in Proxmox
The QEMU Guest Agent allows Proxmox to communicate with the Ubuntu guest OS for features such as clean shutdowns, IP address reporting, and improved snapshot/backup handling.
1. Enable the Guest Agent in Proxmox
In the Proxmox web interface:
VM → Options → QEMU Guest Agent → Edit → Enabled
Alternatively, from the Proxmox host:
| |
Example:
| |
2. Install the Agent in Ubuntu
Inside the Ubuntu VM:
| |
3. Power Cycle the VM
Fully shut down and start the VM so the QEMU guest-agent VirtIO device is attached.
From the Proxmox host:
| |
Or shut down the VM normally and start it again from the Proxmox GUI.
4. Verify the Agent
Inside Ubuntu:
| |
The service should show:
| |
You can also confirm the VirtIO guest-agent device exists:
| |
You should see:
| |
5. Test From Proxmox
From the Proxmox host:
| |
Example:
| |
If no error is returned, the QEMU Guest Agent is working correctly.
Note: On recent Ubuntu versions,
qemu-guest-agentdoes not need to be manually enabled withsystemctl enable. The service is started automatically when the QEMU guest-agent VirtIO device is available.