[lxc-users] centos guest

Fajar A. Nugraha list at fajar.net
Sun Feb 8 19:10:21 UTC 2015


On Mon, Feb 9, 2015 at 12:06 AM, mattias <mj at mjw.se> wrote:
> I run centos on my server
>
> If I  do
>
> Lxc-create –name test –t cetos
>
> It will install same centos as on my server
>
> I understand I can use –r but how?
>
> Let’s say I will install centos 5?


lxc-create ... -- -r 5

Note the "--". Anything after that is passed as template option. Also,
you should use "-t download" instead of the centos template, it's
faster and can be used easily even on non-centos host.

-- 
Fajar


More information about the lxc-users mailing list