Summary:
Retrieves a list of scripts used during reinstallation of a Virtuozzo Container.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
The ID of the server to get the scripts for. |
|
|
|
|
Script type. The only available type at the time of this writing is |
|
|
|
If you would like to retrieve the information about a particular script, specify its name here. Omit the element to retrieve the information about all available scripts. |
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
The name of the scripts. |
|
|
|
Script type. |
|
|
|
Script description. |
|
|
|
The body of the script. |
|
|
|
|
Description:
A Virtuozzo Container can be reinstalled if the administrator has inadvertently modified, replaced, or deleted any of the files that are a part of an application or operating system template thus breaking the Container itself or an application installed inside it. During reinstallation, a series of scripts is executed in order to bring the application templates inside a Container to their original working states. Every Container may have its own set of scripts depending on the application templates installed in it. The get_script
call allows to retrieve a list of the available scripts. The list can then be used to select the scripts to execute if you are performing custom reinstall. See the vzatbs/fix
call for more information.
To add a custom script to a Container, use the set_script
call.