[virt-tools-list] Adding support for cloud-init in virt-manager
Cedric Bosdonnat
cbosdonnat at suse.com
Thu Jul 20 07:54:20 UTC 2017
On Wed, 2017-07-19 at 14:10 -0400, Alvin Starr wrote:
> > > This may be a stupid idea but what about a metadata server?
> > > Since libvirt does the network setup it should be possible for libvirt to
> > > add in some iptables rules to redirect requests to a simple metadata server
> > > running alongside libvirtd.
> > > The metadata could be encoded in the vm's xml file.
> >
> > We don't really want to hardcode knowledge about the cloud-init protocol
> > in libvirt. So any such setup needs to be done by the layer above libvirt,
> > using the libvirt APIs that exist as the mechanism.
>
> I can understand that.
> Are there any APIs that allow for the manipulation of the network
> interfaces or provide call-outs to other tools?
>
> If the xml VM definition is all that is needed to start a VM is there
> any way to get the xml definition hold information that is used by
> other tools without having to keep parallel databases of VM's.
All that metadata system looks like what a configuration manager
like salt & friends could do.
--
Cedric
More information about the virt-tools-list
mailing list