1
.TH ve-veconfig 5 "9 Oct 2003" "Virtuozzo" "Virtual Private Servers"
3
ve-veconfig \- vzctl helper script for setting various VE parameters
5
/etc/sysconfig/vz-scripts/ve-veconfig
7
The \fBve-veconfig\fR script is called by \fBvzctl(8)\fR. Its purpose is
8
to set various parameters for a given VE.
10
Parameters are passed to the script in the form of environment variables.
11
The following variables can be defined:
13
Sets VE hostname to be \fIname\fR.
14
This is done by modifying VE's \f(CW/etc/hosts\fR and
15
\f(CW/etc/sysconfig/network\fR (in RedHat or RedHat-like based VE) or
16
\f(CW/etc/rc.config\fR (in SuSE-based VE).
17
.IP "\fBSEARCHDOMAIN\fR"
18
Sets VE resolver's search list for host-name lookup.
19
This option modifies VE's \f(CW/etc/resolv.conf\fR.
21
Sets VE name server IP address.
22
This option modifies VE's \f(CW/etc/resolv.conf\fR.
23
.IP "\fBUSERPW\fR \fIuser:password\fR"
24
Sets the \fIpassword\fR for \fIuser\fR, adding \fIuser\fR if it does not
25
already exists. Several \fB--userpasswd\fR options can be given.
28
Name of the distribution this VE runs (like \fBredhat-7.1\fR). Used for script
29
to do distribution-dependent setup.
32
The script is expected to return 0 on success, any other return code
33
will be printed by \fBvzctl\fR.
38
Copyright (C) 2001-2006, SWsoft. Licensed under GNU GPL.