Re: [lxc-devel] create api

2013-05-15 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Wed, 15 May 2013 08:56:27 -0500 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > On Tue, 14 May 2013 14:13:45 -0500 > > > Serge Hallyn wrote: > > > > > > > Hi, > > > > > > > > I'd like to rewrite lxc-create t

Re: [lxc-devel] create api

2013-05-15 Thread S . Çağlar Onur
Hi Serge, On Tue, May 14, 2013 at 3:13 PM, Serge Hallyn wrote: > Hi, > > I'd like to rewrite lxc-create to be c (calling out to the c templates > which continue to be scripts for the most part). Unfortunately right > now the lxcapi_create() just takes arguments to send to the lxc-create > scrip

Re: [lxc-devel] create api

2013-05-15 Thread Dwight Engen
On Wed, 15 May 2013 08:56:27 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Tue, 14 May 2013 14:13:45 -0500 > > Serge Hallyn wrote: > > > > > Hi, > > > > > > I'd like to rewrite lxc-create to be c (calling out to the c > > > templates which continue to be sc

Re: [lxc-devel] create api

2013-05-15 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Tue, 14 May 2013 14:13:45 -0500 > Serge Hallyn wrote: > > > Hi, > > > > I'd like to rewrite lxc-create to be c (calling out to the c templates > > which continue to be scripts for the most part). Unfortunately right > > now the lxcapi_create(

Re: [lxc-devel] create api

2013-05-14 Thread Stéphane Graber
On 05/14/2013 05:28 PM, Dwight Engen wrote: > On Tue, 14 May 2013 14:13:45 -0500 > Serge Hallyn wrote: > >> Hi, >> >> I'd like to rewrite lxc-create to be c (calling out to the c templates >> which continue to be scripts for the most part). Unfortunately right >> now the lxcapi_create() just tak

Re: [lxc-devel] create api

2013-05-14 Thread Dwight Engen
On Tue, 14 May 2013 14:13:45 -0500 Serge Hallyn wrote: > Hi, > > I'd like to rewrite lxc-create to be c (calling out to the c templates > which continue to be scripts for the most part). Unfortunately right > now the lxcapi_create() just takes arguments to send to the lxc-create > script. > >

[lxc-devel] create api

2013-05-14 Thread Serge Hallyn
Hi, I'd like to rewrite lxc-create to be c (calling out to the c templates which continue to be scripts for the most part). Unfortunately right now the lxcapi_create() just takes arguments to send to the lxc-create script. I could either dump the existing lxcapi_create function, replace it with