ve-alias_add

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
SEE ALSO
COPYRIGHT

NAME

ve-alias_add − Container’s script for adding an IP alias

SYNOPSIS

/etc/sysconfig/vz-scripts/ve-alias_add

DESCRIPTION

The ve-alias_add shell script is called by vzctl(8) when it gets called with --ipadd option.

This script is executed inside CT. It adds IP alias by creating/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 add as an alias to 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) 2000-2015 Parallels IP Holdings GmbH. All rights reserved.