cloud-init libvirt

Erik Skultety eskultet at redhat.com
Tue Apr 14 10:57:32 UTC 2020


On Tue, Apr 14, 2020 at 12:35:02AM +0430, PunkGeek wrote:
> is there any way to use cloud-init configs in python libvirt?
>  cloud-init require to create an iso, which seems that ovirt support
> cloud-config: https://red.ht/2K1gBkn
>  But how can I do that by python libvirt?

Cloud-init is out of scope of libvirt, so with libvirt, mounting the ISO is
your only option.
Outside of libvirt, I'd look at virt-install whether the cloud-init support
currently in place is sufficient for your use case. Bear in mind though that
cloud-init support in virt-install was added shortly after the 2.2.1 release
and we haven't had a new release since then, so you'd have to use virt-install
directly from git, maybe Cole can shed a bit more light on when the next
virt-install release is planned.

--
Erik Skultety




More information about the libvirt-users mailing list