Editing OS template metadata

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
<translate>
 
<translate>
<!--T:1-->
 
 
{{Warning|The rest of this document is obsoleted and is kept here for historical purposes only. Template utilities (vzpkg/vzyum) are no longer supported. Use [[Download/template/precreated|precreated templates]].}}
 
{{Warning|The rest of this document is obsoleted and is kept here for historical purposes only. Template utilities (vzpkg/vzyum) are no longer supported. Use [[Download/template/precreated|precreated templates]].}}
  
<!--T:2-->
 
 
'''OS template metadata''' is a set of a few files containing the following information:
 
'''OS template metadata''' is a set of a few files containing the following information:
  
<!--T:3-->
 
 
* List of packages that form this [[OS template]]
 
* List of packages that form this [[OS template]]
 
* Locations of package repositories
 
* Locations of package repositories
Line 15: Line 12:
 
Using OS template metadata and vzpkg tools, an OS template cache can be created.
 
Using OS template metadata and vzpkg tools, an OS template cache can be created.
 
<noinclude>
 
<noinclude>
==Internals== <!--T:4-->
+
==Internals==
 
(Incomplete) Based off the centos-4 vztmpl:
 
(Incomplete) Based off the centos-4 vztmpl:
  
<!--T:5-->
 
 
*addons/vzdev is a static list of most commonly used /dev entries. Provides dev package. Uses MAKEDEV.spec
 
*addons/vzdev is a static list of most commonly used /dev entries. Provides dev package. Uses MAKEDEV.spec
 
*addons/MAKEDEV-3.3.13-1.3.swsoft is generated from a copy of fedora core 2's MAKEDEV-3.3.13. Uses MAKEDEV.spec which is a customized version to install only the essential devices and depend on vzdev
 
*addons/MAKEDEV-3.3.13-1.3.swsoft is generated from a copy of fedora core 2's MAKEDEV-3.3.13. Uses MAKEDEV.spec which is a customized version to install only the essential devices and depend on vzdev
Line 31: Line 27:
 
*make.defs is the common variables for the make process
 
*make.defs is the common variables for the make process
  
<!--T:6-->
 
 
Download the vztmpl-centos-4*.src.rpm. Install it. Modify it.
 
Download the vztmpl-centos-4*.src.rpm. Install it. Modify it.
  
<!--T:7-->
 
 
To generate the OS template metadata rpm run "make rpms" inside the /usr/src/redhat/SOURCES/centos-4 dir. You will need gcc, rpmbuild, and createrepo packages.
 
To generate the OS template metadata rpm run "make rpms" inside the /usr/src/redhat/SOURCES/centos-4 dir. You will need gcc, rpmbuild, and createrepo packages.
  
==Contributions== <!--T:8-->
+
==Contributions==
 
* http://www.neonhost.com/openvz/ - Centos 5 rpm and patch for centos 4 template contributed by Chris Turan. See http://forum.openvz.org/index.php?t=msg&&th=5037
 
* http://www.neonhost.com/openvz/ - Centos 5 rpm and patch for centos 4 template contributed by Chris Turan. See http://forum.openvz.org/index.php?t=msg&&th=5037
 
* http://krnjevic.com/wp/wp-content/uploads/2008/04/vztmpl-centos-5-2.0-3.i386.rpm - newer Centos 5 template (see also http://krnjevic.com/wp/?p=80)
 
* http://krnjevic.com/wp/wp-content/uploads/2008/04/vztmpl-centos-5-2.0-3.i386.rpm - newer Centos 5 template (see also http://krnjevic.com/wp/?p=80)
Line 43: Line 37:
 
<noinclude>
 
<noinclude>
  
== See also == <!--T:9-->
+
== See also ==
 
* [[OS template]]
 
* [[OS template]]
 
* [[OS template cache]]
 
* [[OS template cache]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: