On Wed, 2014-07-02 at 15:23 +0700, Fajar A. Nugraha wrote: > On Wed, Jul 2, 2014 at 3:11 PM, Ajith Adapa <ajith.ad...@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
It's "not" using the debian mirrors. More precisely (excuse the pun) it's using debootstrap which defaults to using the debian mirror at mirrors.kernel.org and that seems to be broken. > - 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. It's broken in debootstrap for certain revs. It's not an LXC problem per se. > -- > Fajar Regards, Mike > > -- > > Regards, > > Ajith > > > > On Wed, Jul 2, 2014 at 11:12 AM, Fajar A. Nugraha <l...@fajar.net> wrote: > >> On Wed, Jul 2, 2014 at 11:37 AM, Ajith Adapa <ajith.ad...@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@lists.linuxcontainers.org > >> http://lists.linuxcontainers.org/listinfo/lxc-users > > _______________________________________________ > > lxc-users mailing list > > lxc-users@lists.linuxcontainers.org > > http://lists.linuxcontainers.org/listinfo/lxc-users > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users -- Michael H. Warfield (AI4NB) | (770) 978-7061 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users