The patch will be shipped with qemu-server_7.0-18.
I use it with ansible and terraform for IaC.
For reference:
I use it with ansible and terraform for IaC.
For reference:
Code:
##Bootstrap Cloud-Init Image##
A vendor config can be used to bootstrap cloud-init images.
For example to install qemu-guest-agent on debian/ubuntu distros after the vm has been deployed create the following snippet.
Note that the vendor config is executed on first boot only !
qm set 9000 --cicustom "vendor=local:snippets/vendor.yaml"
/var/lib/vz/snippets/vendor.yaml:
#cloud-config
runcmd:
- apt update
- apt install -y qemu-guest-agent
- systemctl start qemu-guest-agent