Re: Adding support for cloud-init in virt-manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux