Editing OS template metadata
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: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
'''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: | ||
− | |||
* 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 13: | Line 7: | ||
* Additional OpenVZ-specific packages | * Additional OpenVZ-specific packages | ||
− | + | ==Internals== | |
− | |||
− | ==Internals== | ||
(Incomplete) Based off the centos-4 vztmpl: | (Incomplete) Based off the centos-4 vztmpl: | ||
− | |||
*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 22: | ||
*make.defs is the common variables for the make process | *make.defs is the common variables for the make process | ||
− | |||
Download the vztmpl-centos-4*.src.rpm. Install it. Modify it. | Download the vztmpl-centos-4*.src.rpm. Install it. Modify it. | ||
− | |||
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== | + | ==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 | ||
− | + | ||
− | + | Using OS template metadata and vzpkg tools, an OS template cache can be created. | |
<noinclude> | <noinclude> | ||
− | + | == See also == | |
− | == See also == | ||
* [[OS template]] | * [[OS template]] | ||
* [[OS template cache]] | * [[OS template cache]] | ||
* [[OS template cache preparation]] | * [[OS template cache preparation]] | ||
− | |||
[[Category: Definitions]] | [[Category: Definitions]] | ||
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </noinclude> |