[Lxc-users] lxc-ubuntu: Default to current ubuntu release. If can't match any valid release, use lucid.

Stéphane Graber stgraber at ubuntu.com
Thu Jun 23 17:34:38 UTC 2011


On Thu, 2011-06-23 at 13:27 -0400, Stéphane Graber wrote:
> On Thu, 2011-06-23 at 11:13 -0500, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgraber at ubuntu.com):
> > > 
> > > Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
> > 
> > My thought (which I meant to point out in the help output) was
> > that we should default to the latest LTS.  lucid for now, 12.04
> > when it comes out.
> > 
> > What do you think?
> > 
> > If you think it's better to use the host's release by default,
> > I'm fine with that.
> 
> I kind of like having all the defaults set to what I'm currently
> running.
> 
> One thing that bothers me is that we can't give the distro, arch, ... as
> parameter when doing a lxc-create (which I'm assuming is the most common
> way of using our templates).
> 
> Should we change the template to prompt the user instead? showing the
> supported values for the distro and architecture (at least) and using
> the current system's values as a default?

Looking at some e-mail from Serge I now saw that -- <options> should be
working though it's not really intuitive as I can't find any reference
to it doing "lxc-create --help".

So I'd suggest to either have the script prompt the user or make sure
the help is up to date and the template options are easy enough to find
for our users (including their default values).

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110623/528016a6/attachment.pgp>


More information about the lxc-users mailing list