[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:05:35 UTC 2011
Quoting Stéphane Graber (stgraber at ubuntu.com):
> 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.
Me too, but I had a feeling that most users would want an LTS.
> 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
What do you mean?
lxc-create -t ubuntu -f /etc/lxc.conf -n n1 -- -a i386 -r natty
Is that not what you mean?
> 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?
By default no, but we could add a [-i|--interactive] option to the
ubuntu template?
-serge
More information about the lxc-users
mailing list