1 .TH VSERVER-BUILD "8" "October 27, 2007" "vserver-build" "System Administration"
3 vserver-build \- initializes a vserver
6 \fB\-m\fR \fImethod\fR \fB\-n\fR \fIname\fR [\fB\-\-force\fR] [\fB\-\-keep\fR]
7 [\fB\-\-rootdir\fR \fIdir\fR] [\fB\-\-pkgbase\fR \fIdir\fR]
8 \fIconfig options*\fR [\fB\-\-\fR] \fImethod arguments*\fR
10 \fB\-m\fR \fImethod\fR
11 Use build \fImethod\fR; see below for possible values.
14 Name of vserver you are building.
17 Remove/rename already existing vservers with the same name.
20 Do not delete generated files and directories if vserver build fails.
22 \fB\-\-rootdir\fR \fIdir\fR
23 Root vserver directory [default: @SYSCONFDIR@/vservers/.defaults/vdirbase].
25 \fB\-\-pkgbase\fR \fIdir\fR
26 Package base directory [default: @VSERVERDIR@/.pkg].
29 \fB\-\-context\fR \fInum\fR
31 \&The static context of the vserver [default: none; one will be generated for you].
32 The valid range is 2 through 49151.
34 \fB\-\-confdir\fR \fIdir\fR
36 \&The vserver configuration directory to use [default: @SYSCONFDIR@/vservers/<name>].
38 \fB\-\-lockfile\fR \fIfilename\fR
40 \&The lockfile to use [default: /var/run/vservers/<name>].
42 \fB\-\-hostname\fR \fIhostname\fR
44 \&Hostname of the vserver.
46 \fB\-\-netdev\fR \fIdevice\fR
48 \&The default interface to use for \fB--interface\fR.
50 \fB\-\-netbcast\fR \fIbroadcast\fR
52 \&Broadcast address to associate with the vserver.
54 \fB\-\-netmask\fR \fInetmask\fR|\fB\-\-netprefix\fR \fIprefixlen\fR
56 \&Sets the default netmask (a.b.c.d quadruple) or prefixlen (length of the
59 \fB\-\-interface\fR [\fIname\-suffix\fR=][\fIdevice\fR:]\fIip\fR[/\fImask|prefixlen\fR]
61 \&Declares a network\-interface name and associated IP/netmask; this option can
62 be specified multiple times.
64 \fB\-\-flags\fR \fIflags+\fR
66 \&Sets comma\-separated list of flags; see lib/cflags-v13.c for a list.
68 \fB\-\-cpuset\fR \fIname\fR
70 \&Declares the CPUSET this vserver will run in [default: none]
72 \fB\-\-cpusetcpus\fR \fInumber[\-number][:exclusive]\fR
74 \&Sets which CPUs belong to the CPUSET, \fI:exclusive\fR is a flag (0|1)
75 prohibiting any other cpuset from using those CPUs.
77 \fB\-\-cpusetmems\fR \fInumber[\-number][:exclusive]\fR
79 \&Sets which memory pools belong to the CPUSET, \fI:exclusive\fR is a flag
80 (0|1) prohibiting any other cpuset from using those memory pools.
84 \&Virtualize the cpuset (the vserver will see only CPUs defined in the cpuset).
85 Requires kernel patch from http://www.bullopensource.org/cpuset/
87 \fB\-\-initstyle\fR \fIstyle\fR
89 \&Configures the initstyle (e.g. minit, sysv, plain, gentoo)
94 \& \fB\-\-\fR \fB\-d\fR \fIdistribution\fR
96 \&Installs the base\-packages of the given distribution with the help of
101 \&\fB\-\-\fR \fB\-d\fR \fIdistribution\fR
103 \&Installs the base\-packages of the given distribution with help of
108 \&\fB\-\-\fR [\fB\-d\fR \fIdistribution\fR] \fB\-\-empty\fR|([\fB\-\-force\fR] [\fB\-\-nodeps\fR] \fImanifest\fR)+
110 \&Installs lists of rpm\-packages
114 \&\fB\-\-\fR [\fIcmd args*\fR]
116 \&Installs a minimal skeleton filesystem, creates the configuration file
117 and calls an optional command
121 \fB\-\-\fR \fB\-d\fR \fIdistribution\fR [\fB\-m\fR \fImirror\fR] [\fB\-s\fR \fIscript\fR] [\fB\-\-\fR \fIdebootstrap\-options*\fR]
123 \&Bootstraps the vserver with Debian's 'debootstrap' package
127 \&\fB\-\-\fR (\fB\-t\fR \fItarball\fR)+ [\fB\-d\fR \fIdistribution\fR]
129 \&Installs a vserver using tarball(s)
133 \&\fB\-\-\fR [\fB\-f\fR \fIfai_vserver\fR] [\fB\-n\fR \fInfsroot\fR] [\fB\-d\fR \fIfai_dir\fR] [\fB\-a\fR]
135 \&Bootstraps the vserver with the Debian Fully Automatic Installation
137 \fB\-f\fR means use the nfsroot and profile in the vserver \fIfai_vserver\fR
139 \fB\-n\fR \fInfsroot\fR specifies the 'NFS' root explicitly
141 \fB\-d\fR \fIfai_dir\fR specifies the location of the FAI profile
143 the \fB\-f\fR option implies \fB\-n\fR and \fB\-d\fR are relative to the \fIfai_vserver\fR
147 \&\fB\-\-\fR [\fB\-d\fR \fIdistribution\fR] \fB\-\-source\fR \fIsource\fR [\fB\-o\fR \fIrsync option\fR]*
149 \&Installs a vserver by rsyncing from \fIsource\fR to the guest root
153 \&\fB\-\-\fR [\fB\-d\fR \fIdistribution\fR] \fB\-\-source\fR \fIsource\fR
155 \&Clones a vserver by linking unified files and copying the rest
158 # vserver kea build -m debootstrap --context 10 --hostname kea --interface eth0:192.168.0.44/32 -- -d etch
161 Please report bugs to vserver@list.linux\-vserver.org
164 This man page was written by Micah Anderson <micah@debian.org> and based upon the helpful output from the program itself.
167 chbind(8) chcontext(8)
168 rebootmgr(8) reducecap(8)