OpenVZ Forum


Home » Mailing lists » Users » Fedora Core 6 ready to use template?
Re: Fedora Core 6 ready to use template? [message #11982 is a reply to message #11934] Fri, 13 April 2007 14:02 Go to previous messageGo to previous message
mhw is currently offline  mhw
Messages: 12
Registered: March 2007
Junior Member
On Thu, 2007-04-12 at 12:39 +0400, Vasily Tarasov wrote:
> Hello,
>
> There is no precreated template cache for FC6 at the moment at
> openvz.org. Probably somebody from OpenVZ users has created it, but I
> haven't heard about it.

> I guess, you can install FC5 precreated template cache, create a VE
> based on this template, then upgrade VE up to FC6 from inside VE using
> usual means (up2date, yum). After that clean VE from needless
> information (network settings, users, ...) and create a tar.gz archive
> of VE - it'll be a template cache for FC6.

I was able to replicate the vz/template/fedora/5 directory over to
vz/template/fedora/6 and then modify the .../i386/conf/yum.conf file
appropriately (just change all the instances of 5 to 6). I was then
able to use vzcachepkg to create and manage the templates. I've got
several VE's running based on that template now. It would be nice if
someone could package this up and add it to the template repositories.
This one is not to terribly hard to create.

OTOH... I've just been working with CentOS 5. It's a friggen
nightmare. There's a "conflicts with kernel < 2.6.12" built into the
initscripts rpm that's hosing everything and I've been totally unable to
build a centos-5 template. Even adding the kernel package to the
package lists doesn't help (is it excluded somewhere, somehow).

Even updating from CentOS 4 to CentOS 5 isn't working. The conflict
exists if it doesn't find a kernel package it likes (in this case it
doesn't even exist). You can install the kernel package (which can be
removed later, if you care) and then vzyum will update a bunch of
packages, including initscripts, and update even more when you run a
final vzyum update after the vzyum install. But the resulting VE in non
functional. Trying to enter the running VE, I get a "Unable to open
pty: No such file or directory". No joy either way.

Really strange, since they've got an RHEL 5 kernel on the OpenVZ site.
No templates for VE's, though. If CentOS 5 won't build into a template,
I would guess RHEL 5 is going to be the same trouble.

CentOS 5 was just released yesterday and the OpenVZ team doesn't even
have an FC6 template in the repositories yet, so I'm not holding my
breath.

> HTH,
> Vasily

Mike

> Jan Tomasek wrote:
> > Hello,
> >
> > one of my users asked me for VE with Fedora Core 6 installed. It is't
> > part of precreated packages:
> > http://download.openvz.org/template/precreated/
> >
> > Is precreated template of this system somewhere else?
> >
> > Thanks
> >
> >
> > ------------------------------------------------------------ ------------
> >
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw@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: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem installing vzyum-2.4.0-11.noarch
Next Topic: held and maxheld below barrier and limit but failcnt = 4
Goto Forum:
  


Current Time: Thu Jul 18 13:35:25 GMT 2024

Total time taken to generate the page: 0.02549 seconds