Changes

Jump to: navigation, search

OS template cache preparation

47 bytes removed, 17:24, 11 May 2011
make obsoleted part last
{{Warning|This document is obsolete article describes the procedure of an OS template cache preparation. It assumes you already have OpenVZ installed and is kept here for historical purposes onlyrunning. Template utilities (vzpkg/vzyum) The steps needed to achieve it are no longer supported. Use documented in the [[Download/template/precreated|precreated templatesQuick installation]]document.}}
This article describes == Precreated templates == Use precreated templates taken from [http://openvz.org/download/template/cache Downloads » Templates » Precreated], or directly from [http://download.openvz.org/template/precreated/ download.openvz.org/template/precreated], or from one of the [[Download mirrors|mirrors]]. Precreated templates can be easily updated using the following algorithm:# create temporary [[container]] based on template# update [[container]] using OS-specific tools (yum, apt or similar)# pack [[container]] as a new templateExamples of this procedure of an are described in details at [[Updating Ubuntu template]], [[Updating Debian template]], [[Fedora template update]] In order to use precreated template cache files, download files for chosen OS distributions and place them as-is (no unpacking needed) to the <tt>/vz/template /cache </tt> directory (for Debian/Ubuntu it might be <tt>/var/lib/vz/template/cache</tt>). == Next step == Follow on to the [[container creation]] article. It assumes you already have OpenVZ installed  = Obsoleted: use template tools = {{Warning|The rest of this document is obsoleted and runningis kept here for historical purposes only. The steps needed to achieve it Template utilities (vzpkg/vzyum) are documented in the no longer supported. Use [[Quick installationDownload/template/precreated|precreated templates]] document.}}
== Terminology ==
# vzpkgcache centos-4-i386-minimal
== Alternative: use precreated template cache ==
 
As an alternative to creating a cache using template metadata, you can use precreated template cache taken from [http://openvz.org/download/template/cache Downloads » Templates » Precreated], or directly from [http://download.openvz.org/template/precreated/ download.openvz.org/template/precreated], or from one of the [[Download mirrors|mirrors]].
 
Precreated templates can be easily updated using the following algorithm:
# create temporary [[container]] based on template
# update [[container]] using OS-specific tools (yum, apt or similar)
# pack [[container]] as a new template
Examples of this procedure are described in details at [[Updating Ubuntu template]], [[Updating Debian template]], [[Fedora template update]]
 
In order to use precreated template cache files, download files for chosen OS distributions and place them as-is (no unpacking needed) to the <tt>/vz/template/cache</tt> directory (for Debian/Ubuntu it might be <tt>/var/lib/vz/template/cache</tt>).
 
== Next step ==
 
Follow on to the [[container creation]] article.
[[Category: Installation]]
[[Category: Templates]]

Navigation menu