ve-alias_del

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
SEE ALSO
COPYRIGHT

NAME

ve-alias_del − virtual private server’s script for removing IP alias

SYNOPSIS

/etc/sysconfig/vz-scripts/ve-alias_del

DESCRIPTION

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.

OPTIONS

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.

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.