Recreates a container from scratch according to its configuration file. Copies old private area content to the /vz/root/<CT_name>/old
directory.
Syntax.
prlctl reinstall <CT_name> [--skipbackup] [--resetpwdb] [--scripts <script> [...]] prlctl reinstall <CT_name> [--listscripts] [--desc]
Table 3.16. Options
Name | Description |
---|---|
| Container name. |
| Removes container’s user database and creates a clean database as for any new installation. |
| Does not save the old private area contents to the |
| Specifies the scripts to be executed during reinstallation. These scripts are used to customize application templates in the new container and bring them to the same state as in the old container. By default, all available scripts are executed. |
| Lists the scripts to be executed during container reinstallation. |
| Displays the description of the scripts to be executed during container reinstallation. Used together with the |
Note
Note: Currently, the reinstall
command may not be supported by the prlctl
utility. Use vzctl
instead.