[pve-devel] lxd support cloud-init through /dev/lxd interface
Alexandre DERUMIER
aderumier at odiso.com
Sun Jun 21 08:13:46 CEST 2015
>>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.
yes indeed, iso is better.
>>But it would be easy to do with lxc, as we already have the code to
>>loop/qemu-nbd mount
>>the root device.
I'll to look at this.
----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Samedi 20 Juin 2015 17:28:39
Objet: Re: [pve-devel] lxd support cloud-init through /dev/lxd interface
> 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