Previous page

Next page

Locate page in Contents

Print this page

get_script

Linux Summary:

Retrieves a list of scripts used during reinstallation of a Virtuozzo Container.

Request specification:

Name

Min/Max

Type

Description

get_script

 

 

 

{

 

 

 

eid

1..1

eid_type

The ID of the server to get the scripts for.

type

0..1

string

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

name

0..1

string

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

script

1..1

 

 

{

 

 

 

name

1..1

string

The name of the scripts.

type

1..1

string

Script type.

description

0..1

base64Binary

Script description.

body

0..1

base64Binary

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.

Please send us your feedback on this help page