~ubuntu-branches/ubuntu/karmic/vzctl/karmic

« back to all changes in this revision

Viewing changes to man/ve-veconfig.5

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2007-04-10 18:08:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070410180816-0uuzj9fnna7gmzxv
Tags: 3.0.16-4
Etch has been released which means that this version can be uploaded
to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH ve-veconfig 5 "9 Oct 2003" "Virtuozzo" "Virtual Private Servers"
2
 
.SH NAME
3
 
ve-veconfig \- vzctl helper script for setting various VE parameters
4
 
.SH SYNOPSIS
5
 
/etc/sysconfig/vz-scripts/ve-veconfig 
6
 
.SH DESCRIPTION
7
 
The \fBve-veconfig\fR script is called by \fBvzctl(8)\fR. Its purpose is
8
 
to set various parameters for a given VE.
9
 
.SH OPTIONS
10
 
Parameters  are  passed to the script in the form of environment variables.
11
 
The following variables can be defined:
12
 
.IP "\fBHOSTNM\fR
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.
20
 
.IP "\fBNAMESERVER\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.
26
 
.P
27
 
.IP "\fBDIST\fR"
28
 
Name of the distribution this VE runs (like \fBredhat-7.1\fR). Used for script
29
 
to do distribution-dependent setup.
30
 
.P
31
 
.SH DIAGNOSTICS
32
 
The script is expected to return 0 on success, any other return code
33
 
will be printed by \fBvzctl\fR.
34
 
.SH SEE ALSO
35
 
.BR vzctl (8),
36
 
.BR resolv.conf (5).
37
 
.SH COPYRIGHT
38
 
Copyright (C) 2001-2006, SWsoft. Licensed under GNU GPL.