FreeBSD-12.2-RELEASE QEMU guest agent

1 min read

Today I needed to configure a FreeBSD and install the qemu-quest agent so the proxmox web interface could show it’s ip address. Is really straight forward:

# pkg install qemu-guest-agent
# kldload virtio_console
# echo 'virtio_console_load="YES"' >> /boot/loader.conf

Then Modify your /etc/rc.conf by adding these settings

qemu_guest_agent_flags="-d -v -l /var/log/qemu-ga.log"

and run

# service qemu-guest-agent start
Starting qemu_guest_agent.
# service qemu-guest-agent status
qemu_guest_agent is running as pid 3084.