Previous page

Next page

Locate page in Contents

Print this page

set_script

Linux Summary:

Adds a re-installation script to the Virtuozzo Container.

Request specification:

Name

Min/Max

Type

Description

set_script

 

 

 

{

 

 

 

eid

1..1

eid_type

The ID of the Container to add the script to.

type

0..1

string

Script type. The only available type at the time of this writing is reinstall.

name

0..1

string

A name that you would like to use for he script.

body

0..1

base64Binary

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.

Please send us your feedback on this help page