vz-postinst

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
SEE ALSO
COPYRIGHT

NAME

vz-postinst − Container’s script to perform postinstall tasks

SYNOPSIS

/etc/sysconfig/vz-scripts/vz-postinst

DESCRIPTION

The vz-postinst script is called by vzctl(8) after CT private area is created and mounted.

This script performs various postinstall tasks.

It randomizes times in VE_ROOT/etc/crontab file to prevent starting cron jobs in all VEs in the same time.

It also disables root password if the password field is empty in VE_ROOT/etc/passwd file.

OPTIONS

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

VE_ROOT

Root directory of 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.

SEE ALSO

vzctl(8).

COPYRIGHT

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