[lxc-users] lxc-create for ubuntu container fails in Fedora 20

Ajith Adapa ajith.adapa at gmail.com
Wed Jul 2 10:00:03 UTC 2014


Hi Fajar,

I have tried using download template and it worked without any issue.

Regards,
Ajith


On Wed, Jul 2, 2014 at 1:53 PM, Fajar A. Nugraha <list at fajar.net> wrote:
> On Wed, Jul 2, 2014 at 3:11 PM, Ajith Adapa <ajith.adapa at gmail.com> wrote:
>> Hi,
>>
>> I am using the lxc version 1.0.3 from rawhide and it is working fine
>> in creating centos and debian containers in fedora 20.
>>
>> Issue only seems to be with ubuntu container in fedora 20.
>
> Well, you can try:
> - editing the template manually, see why it uses debian's mirrors
> instead of ubuntu. OR
> - try using "lxc-create ... -- --mirror=... --security-mirror=..."
> (and point it to a working ubuntu mirror. OR
> - use the download template. 1.0.3 should have it already. It should
> give you a list of distro/version to choose from.
>
> --
> Fajar
>
>> --
>> Regards,
>> Ajith
>>
>> On Wed, Jul 2, 2014 at 11:12 AM, Fajar A. Nugraha <list at fajar.net> wrote:
>>> On Wed, Jul 2, 2014 at 11:37 AM, Ajith Adapa <ajith.adapa at gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I am trying to create a ubuntu container in Fedora 20 host and it
>>>> fails as shown below
>>>>
>>>> # lxc-create -t ubuntu -n ubuntutest
>>>
>>>> E: Failed getting release file
>>>> https://mirrors.kernel.org/debian/dists/precise/Release
>>>
>>>
>>> well, your template is messed up. Of course debian mirror wouldn't
>>> know anything about ubuntu precise.
>>>
>>> If you haven't done so, try updated lxc from rawhide (which, among
>>> others, should give you up-to-date "ubuntu" template as well as
>>> "download" template) . And THEN after that, use the "download"
>>> template (lxc-create -t download ...). It'd be MUCH faster.
>>>
>>> --
>>> Fajar
>>> _______________________________________________
>>> lxc-users mailing list
>>> lxc-users at lists.linuxcontainers.org
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



-- 
Regards,
Ajith


More information about the lxc-users mailing list