Re: How to create our own templates? [message #44 is a reply to message #43] |
Thu, 08 September 2005 15:42 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
|
There is still no documentation on how to create OS templates, and it's me whom to blame I will write one soon, sure!
Still, it's not very complicated task, and I will describe it here in very short form. First you need to read OS template cache preparation to learn the terms used below, and some background info about templates. Any questions - please ask.
In order to have a OS template, you need to create its metadata first. Metadata is basically a list of packages to be installed, a list of (yum) repositories that have those packages, a few scripts to be executed on various stages of template cache creation. Also you need to have a few packages of your own, to provide things which are not needed inside a VPS (e.g. kernel).
Currently, the only distributions supported by packaging tools (vzpkg) are RPM-based distros, e.g. Red Hat, Fedora, CentOS, and probably SuSE and Mandriva (nobody tried last two distros yet). Actually, OpenVZ supports any distros, e.g. Debian, Gentoo etc., it is not RPM-specific, but tools currently exists only for RPM.
I will continue tomorrow or this night. Please let me know if this is what you need (e.g. if you want to create Debian template I can't currently help you).
Kir Kolyshkin
[Updated on: Wed, 14 September 2005 11:45] Report message to a moderator
|
|
|