[lxc-users] Only Python3 in Ubuntu 14.04

Luis M. Ibarra michael.ibarra at gmail.com
Mon Jul 7 16:59:38 UTC 2014


2014-07-07 11:54 GMT-05:00 Stéphane Graber <stgraber at ubuntu.com>:

> On Mon, Jul 07, 2014 at 11:50:53AM -0500, Luis M. Ibarra wrote:
> > Hi all,
> >
> > I have this concern about why python3 was chosen as the only python
> version
> > in the Ubuntu 14.04 template?
> >
> > Is there a way to set or choose initial packages when the template is
> > created?, if so, how?
>
> lxc-create -t ubuntu -n container-name -- --packages python
>
> The template itself doesn't list what packages have to be installed,
> Ubuntu does that and Ubuntu has been trying to get rid of python 2.x for
> a long time now, that's why it's only installed when required and
> python3 is installed in all other cases.
>

I didn't know about the option "packages", so this fix my issue.

Thanks a lot.



> >
> >
> > Regards,
> >
> >
> > --
> > Luis M. Ibarra
>
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
> --
> Stéphane Graber
> Ubuntu developer
> http://www.ubuntu.com
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>



-- 
Luis M. Ibarra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140707/82c44ef2/attachment.html>


More information about the lxc-users mailing list