Summary:
Adds a re-installation script to the Virtuozzo Container.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
The ID of the Container to add the script to. |
|
|
|
|
Script type. The only available type at the time of this writing is |
|
|
|
A name that you would like to use for he script. |
|
|
|
The body of the script. |
|
|
|
|
Returns:
OK/Error
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 or an application installed inside it. During reinstallation, a series of scripts are 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 set_script
call allows to add a custom script to the Container that can be used later while performing a custom Container reinstall. See the vzatbs/fix
call for more information.
To get the list of the available scripts, use the get_script
call.