util-vserver-0.30
[util-vserver.git] / distrib / sample.conf
1 # Select an unused context (this is optional)
2 # The default is to allocate a free context on the fly
3 # In general you don't need to force a context
4 #S_CONTEXT=
5 # Select the IP number assigned to the virtual server
6 # This IP must be one IP of the server, either an interface
7 # or an IP alias
8 IPROOT=1.2.3.4
9 # The netmask and broadcast are computed by default from IPROOTDEV
10 #IPROOTMASK=
11 #IPROOTBCAST=
12 # You can define on which device the IP alias will be done
13 # The IP alias will be set when the server is started and unset
14 # when the server is stopped
15 IPROOTDEV=eth0
16 # Uncomment the onboot line if you want to enable this
17 # virtual server at boot time
18 #ONBOOT=yes
19 # You can set a different host name for the vserver
20 # If empty, the host name of the main server is used
21 S_HOSTNAME=somename.somedomain.com
22 # You can set a different NIS domain for the vserver
23 # If empty, the current on is kept
24 # Set it to "none" to have no NIS domain set
25 S_DOMAINNAME=
26 # You can set the priority level (nice) of all process in the vserver
27 # Even root won't be able to raise it
28 S_NICE=
29 # You can set various flags for the new security context
30 # lock: Prevent the vserver from setting new security context
31 # sched: Merge scheduler priority of all processes in the vserver
32 #        so that it acts a like a single one.
33 # nproc: Limit the number of processes in the vserver according to ulimit
34 #        (instead of a per user limit, this becomes a per vserver limit)
35 # private: No other process can join this security context. Even root
36 # Do not forget the quotes around the flags
37 S_FLAGS="lock nproc"
38 # You can set various ulimit flags and they will be inherited by the
39 # vserver. You enter here various command line argument of ulimit
40 # ULIMIT="-H -u 200"
41 # The example above, combined with the nproc S_FLAGS will limit the
42 # vserver to a maximum of 200 processes
43 ULIMIT="-HS -u 1000"
44 # You can set various capabilities. By default, the vserver are run
45 # with a limited set, so you can let root run in a vserver and not
46 # worry about it. He can't take over the machine. In some cases
47 # you can to give a little more capabilities (such as CAP_NET_RAW)
48 # S_CAPS="CAP_NET_RAW"
49 S_CAPS=""