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

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

 



On 07/19/2017 11:45 AM, Daniel P. Berrange wrote:
On Wed, Jul 19, 2017 at 11:21:33AM -0400, Alvin Starr wrote:
On 07/19/2017 08:48 AM, Cedric Bosdonnat wrote:

On Wed, 2017-07-19 at 11:59 +0000, Delemotte Barthelemy wrote:
Hello everybody,

What do you think about allowing users to send cloud-init customization script directly from virt-manager ? (for
instance open-stack's GUI horizon includes this feature)
Here a blog article showing how to do with the CLI: http://blog.oddbit.com/2015/03/10/booting-cloud-images-with-libvir
t/
Would it be difficult to implement in virt-manger ?

I think pre-installed images are useful, but can't figure out how to use them efficiently with virt-manager.

Any suggestions ?
Sounds like a cool feature to me. The iso image creation sounds hacky: there surely is
a cleaner way to feed the config to cloud-init.

Something that could be interesting too is to allow creating a guest out of a virt-builder
template. Note that you can already clone an existing VM with virt-manager.


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.

--
Alvin Starr                   ||   land:  (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin@xxxxxxxxxx              ||

_______________________________________________
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