ve-veconfig

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
SEE ALSO
COPYRIGHT

NAME

ve-veconfig − vzctl helper script for setting various CT parameters

SYNOPSIS

/etc/sysconfig/vz-scripts/ve-veconfig

DESCRIPTION

The ve-veconfig script is called by vzctl(8). Its purpose is to set various parameters for given CT.

OPTIONS

Parameters are passed to the script in the form of environment variables. The following variables can be defined:

HOSTNM

Sets CT hostname to be name. This is done by modifying CT’s /etc/hosts and /etc/sysconfig/network (in RedHat or RedHat-like based CT) or /etc/rc.config (in SuSE-based CT).

SEARCHDOMAIN

Sets CT resolver’s search list for host-name lookup. This option modifies CT’s /etc/resolv.conf.

NAMESERVER

Sets CT name server IP address. This option modifies CT’s /etc/resolv.conf.

USERPW user:password

Sets the password for user, adding user if it does not already exists. Several --userpasswd options can be given.

IS_CRYPTED user:password

ve-veconfig assumes that the passwords specified in USERPW are encoded.

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

vzctl(8), resolv.conf(5).

COPYRIGHT

Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.