[pve-devel] lxd support cloud-init through /dev/lxd interface

Dietmar Maurer dietmar at proxmox.com
Sat Jun 20 17:28:39 CEST 2015


> but it's also possible to send info to cloud-init, pushing user-data &&
> meta-data in a special 
> /var/lib/cloud/seed/nocloud/ directory

ah, great.

> 
> 
> here an example
> http://frederik.orellana.dk/booting-fedora-20-cloud-images-without-a-cloud/
> 
> 
> mounting image with qemu-nbd (so it's working with almost all storages), write
> meta-data && user-data.
> 
> This could be done for qemu && lxc too (not sure for windows qemu)

mounting with qemu-nbd is not really possible if you have a 
generic kvm VM (ufs, zfs, complex lvm setups, ...). I guess we
should use the 'iso' approach for kvm.

But it would be easy to do with lxc, as we already have the code to
loop/qemu-nbd mount
the root device.



More information about the pve-devel mailing list