vz-create_prvt

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO
COPYRIGHT

NAME

vz-create_prvt − Container’s script for creating CT private area

SYNOPSIS

/etc/sysconfig/vz-scripts/vz-create_prvt

DESCRIPTION

The vz-create_prvt script is called by vzctl(8) when it gets called with create command. The script can be any executable file and is usually a shell script.

This script is expected to create CT private area from private area template, and randomize its crontab.

Parameters are passed to the script in the form of environment variables. The following variables can be defined:

VEID

Numeric id of CT.

PRIVATE_TEMPLATE

Path to private area template, used as a source.

VE_PRIVATE

Path to root of CT private areas.

DIR

Suffix to CT private area path, used as a destination. Full path is VE_PRIVATE/tmp/DIR.

DIAGNOSTICS

The script is expected to return 0 on success, any other return code will be printed by vzctl.

SEE ALSO

vzctl(8).

COPYRIGHT

Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.