>>I am unsure if this is a good idea, because lxc-create does more things :)
Looking at source code https://github.com/lxc/lxc/blob/master/src/lxc/lxc_create.c It doesn't do too much thing. I agree with Diemar, I can be easy to implement this in perl. (and possible to use qemu-img to create qcow2 file for example, ceph rbd, ... maybe reuse pve-storage ? ) ----- Mail original ----- De: "Kamil Trzciński" <ayu...@ayufan.eu> À: "dietmar" <diet...@proxmox.com> Cc: "aderumier" <aderum...@odiso.com>, "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Vendredi 24 Avril 2015 10:54:54 Objet: Re: [pve-devel] lxc 1.1 : qcow2 support ? I am unsure if this is a good idea, because lxc-create does more things :) Maybe it will be better to implement this method (or even add own storage): https://github.com/lxc/lxc/blob/master/src/lxc/bdev.c#L3090 On Fri, Apr 24, 2015 at 9:18 AM, Dietmar Maurer < diet...@proxmox.com > wrote: I am quit unsure if this lxc-create binary is what we want to use. I try to write my own create script now, hoping I can handle different storage types easier. > On April 24, 2015 at 8:45 AM Alexandre DERUMIER < aderum...@odiso.com > > wrote: > > > >>Yes, but this is about 'lxc-start', not 'lxc-create'. > > mmm, I'm not familiar with lxc yet. > what does exactly lxc-create ? > > from this doc > https://linuxcontainers.org/fr/lxc/manpages/man5/lxc.container.conf.5.html > > It's seem also possible to use > > lxc.rootfs.mount = nbd:file:myfile.qcow2 > > > does it help ? -- Kamil Trzciński ayu...@ayufan.eu www.ayufan.eu _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel