Re: creating a centos-5 os-template... [message #31495 is a reply to message #31433] |
Tue, 01 July 2008 23:25   |
 |
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
I think vzyum and vzpkgcache are flat broken in CentOS 5/x86_64 systems. I've been able to build a CentOS 5 OS Template with vzpkgcache on CentOS 4 i386 hosts.
I'd recommend you just use a pre-created CentOS 5 OS template (I uploaded fairly recent ones based on CentOS 5.2 that include yum installed to the contrib area) or build them (with the tmpl package you found in the forum) on CentoS 4 i386 host nodes.
Once you have an OS Template you are happy with, you can easily create newer, fresher OS Templates out of it. Just make a container, upgrade the container, stop the container, clean up container specific files (/etc/resolv.conf, /etc/hosts, ssh keys, temp files, logs, etc), and then tar -cvzf the private dir up to make a new OS Template.
--
TYL, Scott Dowdle
Belgrade, Montana, USA
|
|
|