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

Reply via email to