vz-start

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO
COPYRIGHT

NAME

vz-start − Container’s startup configuration script

SYNOPSIS

/etc/sysconfig/vz-scripts/vz-start

DESCRIPTION

The vz-start script is called by vzctl(8) just before CT is started. The script can be any executable file and is usually a shell script. It can be used to perform any additional setup of the CT such as network setup.

Parameters are passed to the script in the form of environment variables. Currently only two variables IP_ADDR and VE_ID are defined.

IP_ADDR

IP address(es) assigned to the CT.

VE_ROOT

Root directory of given CT.

DIST

Name of the distribution this CT runs (like redhat-7.1). Used for script to do distribution-dependent setup.

DIAGNOSTICS

The script is expected to return 0 on success, any other return code will be printed by vzctl, but the CT booting will not be terminated.

SEE ALSO

vzctl(8).

COPYRIGHT

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