vz-stop − Container’s shutdown configuration script
/etc/sysconfig/vz-scripts/vz-stop
The vz-stop script is called by vzctl(8) just after the CT is shut down. The script can be any executable file and is usually a shell script. It can be used to perform any additional cleanup of the CT such as network cleanup.
Parameters are passed to the script in the form of environment variables.
|
VEID |
Numeric id of CT. | ||
|
IP_ADDR |
IP address(es) assigned to the CT. Several addresses should be divided by spaces. |
The script is expected to return 0 on success, any other return code will be printed by vzctl(8).
vzctl(8).
Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.