Installation guide

72
Managing EZ Templates
Removing Application EZ Templates From
Containers
The vzpkg remove command allows you to remove one or several application EZ templates from
a Container. A session below shows you an example how to remove the mysql EZ template from
Container 101:
# vzpkg list 101
redhat-el5-x86 2010-05-21 02:21:56
redhat-el5-x86 mysql 2010-05-21 05:36:42
# vzpkg remove 101 mysql -w
vzpkg remove 101 mysql
Removed:
mysql
mysql-server
mysql-devel
mysql-bench
perl-DBD-MySQL
# vzpkg list 101
redhat-el5-x86 2010-05-21 02:21:56
You can see that the mysql EZ template has been successfully removed from Container 101. The
-w option tells the vzpkg remove command to also delete from the Container all packages
having interdependencies with mysql.
To remove an application EZ template from a Container in Parallels Management Console, do the
following:
1 Open the list of Containers by selecting the Parallels Virtuozzo Containers item in the
Hardware Node tree.
2 Double-click the name of the Container where from you want to delete a template to open the
Container Manager.
3 Select the Templates item in the main tree of the Container Manager, and click the
Application Templates tab to see the list of application templates currently applied to the
Container.
4 Right-click the application template you wish to delete, and choose Delete.
5 Confirm your decision by clicking the Remove button in the displayed dialog window. In this
window you can also do the following:
Select the Forced removal check box to force the template deletion from the Container.
Select the Remove dependent packages check box to also remove the packages having
dependencies with the template.