In my case this was a bit more involved - I used the "lxc-fedora" template that comes with debian (testing; lxc 0.8?).
The result is attached. The template works for me, yet the > RELEASE_URL="$MIRROR_URL/Packages/centos-release-$release-2.el6.centos.7. $arch.rpm" line in particular might be non-generalizable and require revisiting. Hoping this helps somone. Sincerely, Joh István Király - LaKing wrote: > > > I used the Fedora template with tiny little modifictions, and it worked > with CentOS 6.2. > > My guide is here: http://forums.fedoraforum.org/showthread.php?t=272995 > > Th relevant part in short: > Thelxc-fedora template can be modified to create CentOs Containers. > Simply run a search and replace, replace "fedora" with "centos" and modify > the rpm package name and URL. Line 114. > > > RELEASE_URL="http://ftp.funet.fi/pub/mirrors/centos.org/$release.0/os/$arch/Packages/centos- release-$release-0.el6.centos.5.$arch.rpm"; > ... > rpm --root $INSTALL_ROOT -ivh > $INSTALL_ROOT/centos-release-$release-0.el6.centos.5.$arch.rpm > > > Cheers,... > lak...@d250.hu > > > D250 Laboratories > www.D250.hu > > > ----- Ursprüngliche Message ----- > Von: Fajar A. Nugraha <l...@fajar.net> > An: Johannes Graumann <johannes_graum...@web.de> > CC: lxc-users@lists.sourceforge.net > Gesendet: 21:31 Montag, 25.Juni 2012 > Betreff: Re: [Lxc-users] Authoritative CentOS 6.2 template? > > On Mon, Jun 25, 2012 at 11:41 PM, Johannes Graumann > <johannes_graum...@web.de> wrote: >> Hello, >> >> Is there an authoritative lxc-template repository somewhere > > Authoritative? Not that I lnow of > >> and/or does a >> template for the latest incarnation of CentOS exist? > > You can easily make one yourself: > http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Centos/6 >
lxc-centos
Description: application/shellscript
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users