Previous page

Next page

Locate page in Contents

Print this page

prlctl reinstall

Recreates a Container from scratch according to its configuration file. Copies old private area content to the /vz/root/< CT_ID >/old directory.

Syntax

prlctl reinstall <CT_ID> [ --skipbackup ] [ --resetpwdb ] [ --scripts <script> [...]]

prlctl reinstall <CT_ID> [ --listscripts ] [ --desc ]

Options

Name

Description

<CT_ID>

Container ID.

--resetpwdb

Removes Container's user database and creates a clean database as for any new installation.

--skipbackup

Does not save the old private area contents to the /old directory.

--scripts <script> [...]

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.

--listscripts

Lists the scripts to be executed during Container reinstallation.

--desc

Displays the description of the scripts to be executed during Container reinstallation. Used together with the --listscripts option.

Notes:

1. If any of the Container application templates cannot be added to the Container in a normal way, the reinstallation process will fail. This may happen, for example, if an application template was added to the Container using the --force option of the vzpkgadd command.

2. Currently, the reinstall command may not be supported by the prlctl utility. Use vzctl instead.