[virt-tools-list] Adding support for cloud-init in virt-manager

Alvin Starr alvin at netvel.net
Wed Jul 19 15:21:33 UTC 2017


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.

-- 
Alvin Starr                   ||   land:  (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin at netvel.net              ||




More information about the virt-tools-list mailing list