vz-create_prvt(5)

vz-create_prvt(5) File Formats Manual vz-create_prvt(5)

NAME

vz-create_prvt - Container's script for creating CT private area

SYNOPSIS

/usr/share/libvzctl/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-2017, Parallels International GmbH. All rights reserved. Copyright (c) 2017-2019 Virtuozzo International GmbH. All rights reserved.

October 2009 OpenVZ