Re: [lxc-devel] [PATCH 1/1] create: add a quiet flag

2013-07-12 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Fri, 12 Jul 2013 09:44:41 -0500 > Serge Hallyn wrote: > > > > > If set, then fds 0,1,2 will be redirected while the creation > > template is executed. > > > > Note, as Dwight has pointed out, if fd 0 is redirected, then if > > templates ask f

Re: [lxc-devel] [PATCH 1/1] create: add a quiet flag

2013-07-12 Thread Dwight Engen
On Fri, 12 Jul 2013 09:44:41 -0500 Serge Hallyn wrote: > > If set, then fds 0,1,2 will be redirected while the creation > template is executed. > > Note, as Dwight has pointed out, if fd 0 is redirected, then if > templates ask for input there will be a problem. We could simply > not redirect

Re: [lxc-devel] [PATCH 1/1] create: add a quiet flag

2013-07-12 Thread Stéphane Graber
On Fri, Jul 12, 2013 at 09:44:41AM -0500, Serge Hallyn wrote: > > If set, then fds 0,1,2 will be redirected while the creation > template is executed. > > Note, as Dwight has pointed out, if fd 0 is redirected, then if > templates ask for input there will be a problem. We could simply > not redi

[lxc-devel] [PATCH 1/1] create: add a quiet flag

2013-07-12 Thread Serge Hallyn
If set, then fds 0,1,2 will be redirected while the creation template is executed. Note, as Dwight has pointed out, if fd 0 is redirected, then if templates ask for input there will be a problem. We could simply not redirect fd 0, or we could require that templates work without interaction. I'm