Difference between revisions of "Qemu guest agent"

From SME Server
Jump to navigationJump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- here we define the contrib name variable -->
 
<!-- here we define the contrib name variable -->
 
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
 
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
{{#vardefine:contribname| {{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
+
{{#vardefine:contribname| {{lc: {{#titleparts:  qemu-guest-agent |1}} }} }}
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
+
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  qemu-guest-agent |1}} }} }}
 
<!-- we define the language -->
 
<!-- we define the language -->
 
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
 
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
Line 36: Line 36:
 
<tab name="For SME 10">
 
<tab name="For SME 10">
 
<br>
 
<br>
For a simple installation first set the QEMU Guest Agent as Enabled in the VM options
+
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:
 
Then just do:
  yum --enablerepo=smecontribs install smeserver-qemu-guest-agent
+
  yum --enablerepo=smecontribs install smeserver-qemu-guest-agent -y
 
  signal-event post-upgrade;signal-event reboot
 
  signal-event post-upgrade;signal-event reboot
  
Line 45: Line 45:
  
 
  systemctl status qemu-guest-agent
 
  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:
 
To install manually:
Line 71: Line 73:
 
=== Configuration ===
 
=== Configuration ===
  
  config show smeserver-qemu-guest-agent
+
  config show qemu-guest-agent
 
 
  
 
=== Uninstall ===
 
=== Uninstall ===
Line 82: Line 83:
  
 
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}  
 
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}  
 
+
<br>
 
===Changelog===
 
===Changelog===
 
Only released version in smecontrib are listed here.
 
Only released version in smecontrib are listed here.

Latest revision as of 12:05, 19 July 2022




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]