Difference between revisions of "Qemu guest agent"
Unnilennium (talk | contribs) (Created page with "to get qemu agent running in your virtualized sme : 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 se...") |
Unnilennium (talk | contribs) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Languages}} | |
+ | <!-- 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--> | ||
+ | {{#vardefine:contribname| {{lc: {{#titleparts: qemu-guest-agent |1}} }} }} | ||
+ | {{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts: qemu-guest-agent |1}} }} }} | ||
+ | <!-- we define the language --> | ||
+ | {{#vardefine:lang| {{lc: {{#titleparts: {{PAGENAME}} | | -1}} }} |en }} | ||
+ | {{Infobox contribs | ||
+ | |name={{#var:contribname}} | ||
+ | |image={{#var:contribname}}.jpg | ||
+ | |description_image= {{#var:contribname}} logo | ||
+ | |maintainer= John Crisp | ||
+ | |licence= GPL v2 | ||
+ | |url= https://wiki.koozali.org | ||
+ | |category= Contrib,Developer | ||
+ | |tags=contrib'developer,perl | ||
+ | }} | ||
+ | ===Maintainer=== | ||
+ | <!-- here you need to file your username and name --> | ||
+ | [[User:reetp|John Crisp]] | ||
+ | === Version === | ||
+ | <!-- keep this first element as is, you can add some if needed --> | ||
+ | {{#smeversion: {{#var:smecontribname}} }} | ||
+ | {{#smeversion: {{#var:contribname}} }} | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | https://pve.proxmox.com/wiki/Qemu-guest-agent | ||
+ | |||
+ | |||
+ | |||
+ | === Installation === | ||
+ | <tabs container> | ||
+ | <tab name="For SME 10"> | ||
+ | <br> | ||
+ | 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 | ||
+ | |||
+ | </tab> | ||
+ | <tab name="For SME 9"> | ||
+ | <br> | ||
+ | No contrib available | ||
yum install qemu-guest-agent -y | yum install qemu-guest-agent -y | ||
Line 8: | Line 68: | ||
config set qemu-ga service status enabled access private | config set qemu-ga service status enabled access private | ||
service qemu-ga start | service qemu-ga start | ||
+ | </tab> | ||
+ | </tabs> | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | config show qemu-guest-agent | ||
+ | |||
+ | === Uninstall === | ||
+ | yum remove {{#var:smecontribname}} | ||
+ | |||
+ | === Bugs === | ||
+ | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}} | ||
+ | and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}} | ||
+ | |||
+ | 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=== | ||
+ | Only released version in smecontrib are listed here. | ||
+ | |||
+ | {{ #smechangelog: {{#var:smecontribname}} }} | ||
+ | |||
+ | <!-- list of category you want to see this page in --> | ||
+ | [[Category: Contrib]] | ||
+ | [[Category:Howto]] | ||
+ | |||
+ | |||
+ | <!-- Please keep there the template revision number as is --> | ||
+ | [[contribtemplate::2| ]] | ||
+ | [[contriblang:: {{#var:lang}} | ]] |
Latest revision as of 12:05, 19 July 2022
qemu-guest-agent logo | |
Maintainer | John Crisp |
---|---|
Url | https://wiki.koozali.org |
Licence | GPL v2 |
Category | |
Tags | contrib'developer, perl |
Maintainer
Version
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:
Changelog
Only released version in smecontrib are listed here.
- change event name smeserver-qemu-guest-agent-update [SME: 11777]
- Initial import to Koozali SME 10 [SME: 11715]