[lxc-users] Parameter -R to lxc-create not woking

Stéphane Graber stgraber at ubuntu.com
Tue Feb 3 06:39:55 UTC 2015


On Mon, Feb 02, 2015 at 06:14:44PM -0500, CDR wrote:
> ​I am trying to create a Centos 7 container on Ubuntu 14.04
> fully dist-upgraded, but if I create the container with
> -t centos it comes down as version 6, and it I use that  plus -R 7 or
> --release 7, the command fails.
> I don't think the "release" version is active. Is there any workaround?​

You need to pass the argument to the template, ont to lxc-create.

lxc-create -t centos -n container-name -- --release 7


-- 
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: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150203/eb1b07e0/attachment.sig>


More information about the lxc-users mailing list