vz-postinst(5)
| vz-postinst(5) | File Formats Manual | vz-postinst(5) |
NAME
vz-postinst - Container's script to perform postinstall tasks
SYNOPSIS
/usr/share/libvzctl/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
COPYRIGHT
Copyright (c) 1999-2017, Parallels International GmbH. All rights reserved. Copyright (c) 2017-2019 Virtuozzo International GmbH. All rights reserved.
| October 2009 | OpenVZ |
