OpenVZ Forum


Home » General » Support » OS Templates Only Base OS?
OS Templates Only Base OS? [message #1680] Mon, 20 February 2006 05:22 Go to next message
hauntmisery is currently offline  hauntmisery
Messages: 14
Registered: February 2006
Junior Member
heya, when making a os template can it only be made offo the base os that you have on the sever? i want to make other os templates.. like a trustix os template.. thanks Amy
Re: OS Templates Only Base OS? [message #1681 is a reply to message #1680] Mon, 20 February 2006 06:35 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Surely you can create your own OS templates, that is not that hard -- the basic idea is you install some packages in a chrooted environment and then create a tarball out of it. This tarball is to be put into /vz/template/cache and used during vzctl create stage.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: OS Templates Only Base OS? [message #1682 is a reply to message #1680] Mon, 20 February 2006 06:42 Go to previous messageGo to next message
hauntmisery is currently offline  hauntmisery
Messages: 14
Registered: February 2006
Junior Member
i dont understand fully.. i need a trustix template
Re: OS Templates Only Base OS? [message #1683 is a reply to message #1682] Mon, 20 February 2006 06:51 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

So you have to create one, or find somebody who will create it, or wait when OpenVZ developers will create one (definitely not today).

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: OS Templates Only Base OS? [message #1684 is a reply to message #1680] Mon, 20 February 2006 06:52 Go to previous messageGo to next message
hauntmisery is currently offline  hauntmisery
Messages: 14
Registered: February 2006
Junior Member
how do i creat 1 with packages? do i just need the iso file or wat?

[Updated on: Mon, 20 February 2006 06:52]

Report message to a moderator

Re: OS Templates Only Base OS? [message #1691 is a reply to message #1684] Mon, 20 February 2006 09:25 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

As I said above, you need to install all the packages you need in your VPS into a chrooted environment (use rpm --root for that) and then tar the resulting environment into a gzipped tarball.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: OS Templates Only Base OS? [message #1703 is a reply to message #1680] Mon, 20 February 2006 13:10 Go to previous message
hauntmisery is currently offline  hauntmisery
Messages: 14
Registered: February 2006
Junior Member
so.. i was say get on the trustix website kernel apache php and such and put it all in a tar.gz?
Previous Topic: mem limit does not work... ?
Next Topic: connection refused
Goto Forum:
  


Current Time: Sun Jul 21 04:23:15 GMT 2024

Total time taken to generate the page: 0.02280 seconds