ve-alias_del − virtual private server’s script for removing IP alias
/etc/sysconfig/vz-scripts/ve-alias_del
The ve-alias_del shell script is called by vzctl(8) when it gets called with --ipdel option.
This script executes inside CT deletes IP alias by modifying CT configuration files /etc/sysconfig/network-scripts/ifcfg-venet0:NNN.
Parameters are passed to the script in the form of environment variables. The following variables can be defined:
IP_ADDR |
IP address(es) to remove from CT. Several addresses are divided by space. | ||
DIST |
Name of the distribution this CT runs (like redhat-7.1). Used for script to do distribution-dependent setup. | ||
VE_STATE |
This (optional) variable is telling the state of CT and can be one of the following: running, starting, stopping, stopped. |
The script is expected to return 0 on success, any other return code will be printed by vzctl.
vzctl(8).
Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.