Qemu guest agent

From SME Server
Jump to navigationJump to search




qemu-guest-agent
NeedImage.svg
qemu-guest-agent logo
MaintainerJohn Crisp
Urlhttps://wiki.koozali.org
LicenceGPL v2
Category

Contrib Developer

Tags contrib'developerperl


Maintainer

John Crisp

Version

Contrib 10:
smeserver-qemu-guest-agent
The latest version of smeserver-qemu-guest-agent is available in the SME repository, click on the version number(s) for more information.


qemu-guest-agent
The latest version of qemu-guest-agent is available in the SME repository, click on the version number(s) for more information.


Description

https://pve.proxmox.com/wiki/Qemu-guest-agent


Installation


For a simple installation first set the QEMU Guest Agent as Enabled in the VM options and Display to Virtio-GPU in the Hardware Options.

Then just do:

yum --enablerepo=smecontribs install smeserver-qemu-guest-agent -y
signal-event post-upgrade;signal-event reboot

Check the Agent shows 'Enabled' in the Proxmox manager and the service is running on Koozali SME

systemctl status qemu-guest-agent

If agent was not enabled before the start of the vm from the hypervisor, so a reboot of the VM is not enough. You need to actually shutdown and restart the VM to enable the agent at the supervisor level and have qemu-guest-agent not to fail for dependency.

To install manually:

yum install qemu-guest-agent -y 
config set qemu-guest-agent service status enabled access private
mkdir -p /usr/lib/systemd/system/qemu-guest-agent.service.d/
echo -e  "[Install]\nWantedBy=sme-server.target" > /usr/lib/systemd/system/qemu-guest-agent.service.d/50koozali.conf
/etc/e-smith/events/actions/systemd-default
systemctl daemon-reload
systemctl start qemu-guest-agent.service


No contrib available

yum install qemu-guest-agent -y
cd /etc/rc.d/rc7.d/
ln -s /etc/rc.d/init.d/qemu-ga  S85qemu-ga
config set qemu-ga service status enabled access private
service qemu-ga start

Configuration

config show qemu-guest-agent

Uninstall

yum remove smeserver-qemu-guest-agent

Bugs

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-qemu-guest-agent component or use this link


Below is an overview of the current issues for this contrib:

No open bugs found.


Changelog

Only released version in smecontrib are listed here.

smeserver-qemu-guest-agent Changelog: SME 10 (smecontribs)
2022/03/15 John Crisp 0.1-2.sme
- change event name smeserver-qemu-guest-agent-update [SME: 11777]
2021/10/22 John Crisp 0.1-1.sme
- Initial import to Koozali SME 10 [SME: 11715]