[Lxc-users] lxc-ubuntu: Default to current ubuntu release. If can't match any valid release, use lucid.
Serge Hallyn
serge.hallyn at canonical.com
Thu Jun 23 21:06:28 UTC 2011
Quoting Stéphane Graber (stgraber at ubuntu.com):
> 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).
Yes, let's fix the help in 'lxc-create -h'. Have it point to
'lxc-create -t ubuntu -- -h' for help from the template.
-serge
More information about the lxc-users
mailing list