[lxc-devel] [PATCHES] add "--mask-tmp" to lxc-fedora, plus some template script fixes

Serge Hallyn serge.hallyn at ubuntu.com
Tue Jan 13 14:49:22 UTC 2015


Quoting Michael Adam (obnox at samba.org):
> On 2015-01-10 at 15:59 +0000, Serge Hallyn wrote:
> > Quoting Michael Adam (obnox at samba.org):
> > > On 2015-01-10 at 04:05 +0000, Serge Hallyn wrote:
> > > > 
> > > > Actually a patch to remove '-p|--path' from the
> > > > help statement in all other templates would be appreciated.
> > > 
> > > Ok, I was just about to send such an add-on patchset,
> > > but first one more thought:
> > > 
> > > Doesn't the same apply to the -n|--name parameter?
> > > 
> > > And what about the --rootfs switch that some
> > > of the templates (like archlinux) take?
> > 
> > Yup, good point, I think it does.
> 
> So then, there are two different approaches:
> 
> 1) document all options for the sake of completeness,
>    marking some of them as "intended for internal use only"
> 
> 2) hide those internal options from the usage text.
> 
> I am personally not 100% certain what I would favour, but
> slightly inclining towards option 1.
> 
> I am happy to do patches for either variant, but will
> wait for more comments on that first.

Does anyone else have any opinion?

I guess I'd favor having them show up at the bottom of the
template's usage() statement, prefaced by

For internal use only (do not pass to lxc-create):


More information about the lxc-devel mailing list