>>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 ?


----- Mail original -----
De: "dietmar" <diet...@proxmox.com>
À: "aderumier" <aderum...@odiso.com>
Cc: "pve-devel" <pve-devel@pve.proxmox.com>, "Kamil Trzciński" 
<ayu...@ayufan.eu>
Envoyé: Vendredi 24 Avril 2015 06:35:42
Objet: Re: [pve-devel] lxc 1.1 : qcow2 support ?

> https://github.com/hmalphettes/ubuntu-uncloud-recloud/blob/master/lxc/lxc-example.conf
>  
> 
> sudo qemu-nbd -c /dev/nbd0 /path/to/vmdk 
> sudo lxc-start -n myvminlxc -f lxc-example.conf 
> 
> with lxc-example.conf 
> 
> lxc.rootfs = /dev/nbd0p1 

Yes, but this is about 'lxc-start', not 'lxc-create'. 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to