Previous page

Next page

Locate page in Contents

Print this page

Removing an Application 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-el6-x86 2012-05-21 02:21:56

redhat-el6-x86 mysql 2012-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-el6-x86 2012-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.