Compare commits

...

3 Commits

Author SHA1 Message Date
11062f5180 Merge pull request 'Add guest agent device when creating VMs' (#431) from bugfix/qemu_guest_agent into master
Reviewed-on: #431
2022-10-12 14:34:06 +00:00
Râu Cao
315cd247e5
Enable qemu-guest-agent after install
This is actually automatically done for the service from the apt
package, but I like specifying it explicitly as well.
2022-10-12 15:55:08 +02:00
Râu Cao
e73b8fb01f
Add guest agent device when creating VMs
This is necessary for qemu-guest-agent to actually work
2022-10-12 15:53:00 +02:00
2 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,5 @@
package %w(qemu-guest-agent)
service "qemu-guest-agent" do
action [:start]
action [:enable, :start]
end

View File

@ -86,5 +86,6 @@ virt-install \
--graphics none \
--serial pty \
--console pty \
--channel unix,mode=bind,path=/var/lib/libvirt/qemu/guest01.agent,target_type=virtio,name=org.qemu.guest_agent.0 \
--autostart \
--import