Installation guide
65 
Managing EZ Templates 
Updating EZ Templates Packages In Containers 
Parallels Virtuozzo Containers allows you to update software packages of the OS EZ template a 
Container is based on and of any application EZ templates applied to the Container. You can do 
this by using the vzpkg update utility. Assuming that Container 101 is based on the redhat-
el5-x86 OS EZ template, you can run the following command to update all packages included in 
this template: 
# vzpkg update 101 redhat-el5-x86 
... 
 Updating: httpd ####################### [1/4] 
 Updating: vzdev ####################### [2/4] 
 Cleanup : vzdev ####################### [3/4] 
 Cleanup : httpd ####################### [4/4] 
Updated: httpd.i386 0:2.0.54-10.2 vzdev.noarch 0:1.0-4 
Complete! 
Updated: 
 httpd i386 0:2.0.54-10.2 
 vzdev noarch 0:1.0-4 
Notes: 
1. You can update templates in running Containers only. 
2. If you are going to update the cache of a commercial OS EZ template (e.g., Red Hat Enterprise Server 
5 or SLES 10), first update software packages in the remote repository used to handle this OS EZ 
template and then proceed with updating the EZ template cache. Detailed information on how to manage 
repositories for commercial Linux distributions is provided in the Setting Up Repositories and Proxy 
Servers for EZ Templates section (p. 27). 
As you can see from the example above, the httpd and vzdev applications have been updated 
for the redhat-el5-x86 OS EZ template. To update all EZ templates (including the OS EZ 
template) inside Container 101 at once, execute the following command: 
# vzpkg update 101 
... 
Running Transaction 
 Updating : hwdata ###################### [1/2] 
 Cleanup : hwdata ###################### [2/2] 
Updated: hwdata.noarch 0:1.0-3 
Complete! 
Updated: 
 hwdata noarch 0:0.158.1-1 
In the example above, only the hwdata package inside Container 101 was out of date and 
updated to the latest version. 
In Parallels Management Console, do the following to update the OS EZ template a Container is 
based on and/or any of its application EZ templates: 
1  Open the list of Containers by selecting the Parallels Virtuozzo Containers item in the 
Hardware Node tree. 










