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. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list