This command is used to remove an application EZ template, YUM software group, or a software package from a container.
Syntax.
vzpkg remove [<options>] <CT_name> <object> [...]
This command will remove <object>
from the container with the name <CT_name>
. The <object>
can be an application EZ template, a YUM software group, or a software package installed with the vzpkg install
command. You may specify a number of objects for removing.
Table 3.34. Options
Name | Description |
---|---|
| Removes the specified package(s) from the container. |
| Removes the specified YUM software group from the container. The |
| Removes also the packages having dependencies with the object specified. |
| Forces the EZ template/package deletion. |
| Simulates the same operations as |
| Sets the debugging level to one of the specified values (from 0 to 10). 10 is the highest debug level and 0 sets the debug level to its minimal value. |
| Disables logging to the screen and to the log file. |
By default, the specified object is treated by vzpkg remove
as an application EZ template. However, you can use the -p
or -g
option to explicitly specify the type of the object.
Note
Note: A container has to be running in order to remove an application EZ template/package from it.