1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE database SYSTEM "configuration.dtd" []>
5 <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:noNamespaceSchemaLocation="file:configuration.xsd">
8 <!-- Global configuration -->
9 <collection name=".defaults" use="optional">
10 <collection name="init" type="fixed">
12 <description>Default mtab file</description>
16 <link name="vdirbase">
17 <default>/vservers</default>
18 <description>A link to the default vserver rootdirectory.</description>
21 <link name="cachebase">
22 <default>/var/cache/vservers</default>
24 A link to the directory which will hold cached information about
29 <boolean id="global-nonamespace" name="nonamespace">
31 Disable namespace usage globally. It can be overridden for a single vserver
32 by setting the <optionref ref="global-namespace">namespace</optionref> flag
35 In this mode the <directory>/vservers</directory> directory must have
36 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
40 <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
42 Disable namespace cleanup globally. It can be overridden for a single vserver
43 by setting the <optionref ref="namespace-cleanup">namespace-cleanup</optionref> flag
48 <list id="global-namespace-cleanup-skip" name="namespace-cleanup-skip">
50 List of paths to skip during namespace cleanup.
56 Path of the vserver run reverse directory. This directory contains
57 symlinks named with XID numbers which point back to the configuration
58 directory of vservers. Under kernel 2.4 this is required for the XID
59 to VSERVER mapping; Under kernel 2.6 it is unused.
61 NOTE: this link exists in 0.30.202+ only; in previous versions it was
62 a vserver specific setting.
66 <collection name="apps">
67 <collection name="pkgmgmt">
69 <default>/vservers/.pkg</default>
71 <data name="apt.conf">
72 <description>The default apt.conf which is going to be used. It is overridden by
73 distribution specific configuration file.
78 <collection name="debootstrap">
79 <scalar name="mirror">
81 The Debian mirror to use with the <tool>debootstrap</tool> program
86 When the <tool>debootstrap</tool> package is not installed; fetch it
87 from this uri and install it at a temporary place.
92 <collection name="vdevmap">
93 <collection name="x" type="sybmolic">
94 <description>'x' is an arbitrary name, replace it with e.g. device names</description>
96 <description>When this file exists, the device can be opened</description>
98 <boolean name="create">
99 <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
101 <boolean id="vdevmap-remap" name="remap">
103 When this file exists, <optionref ref="vdevmap-target">target</optionref> will
104 have to exist as well and opening the device will in fact open the target device
107 <scalar name="flags">
108 <description>This file will let you specify unimplemented flags manually</description>
110 <scalar name="device">
111 <description>Contains the name of a device node</description>
113 <scalar id="vdevmap-target" name="target">
114 <description>Contains the device node of the target node to open instead of the device when <optionref ref="vdevmap-remap">remap</optionref> is set</description>
119 <collection name="vshelper">
120 <link name="logfile">
122 The file where output will be logged to when <tool>vshelper</tool>
123 is invoked from the kernel. This should point somewhere e.g. into
124 <directory>/var/log</directory>.
128 <collection name="vshelper-methods">
129 <program name="handler" type="symbolic">
136 <boolean name="disabled">
138 When existing, the vshelper functionality will be disabled for all
143 <boolean name="debug">
145 When existing, the vshelper execution will be traced.
149 <boolean name="warning-disabled">
151 When existing, sanity checks for the vshelper functionality will be
158 <collection name="vprocunhide">
161 A list of files which will be made visible by vprocunhide. Wildcards are
162 allowed and anything ending in '/' will be processed recursively. When this file exists,
163 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
164 absolute filenames inclusive the leading '/proc'.
169 <collection name="init">
172 A symlink to the TTY device where input/output will be redirected from/to
173 at startup via initscript.
177 <hash id="global-environment" name="environment" since="0.30.211">
179 The environment to set when starting guests. Contains one VAR=VAL
185 <collection name="vunify">
186 <list name="exclude">
187 <description>Static list of excluded files.</description>
190 <collection name="hash" since="0.30.205">
192 A directory which will be used as the storage place for the
193 <tool>vhashify</tool> command.
195 <link name="id" type="symbolic">
197 Points to a directory within the filesystems which are used for the
198 vservers. There must be not more than one of such a directory per
203 <scalar name="method" since="0.30.299">
204 <default>SHA1</default>
205 <description>The used hash method.</description>
209 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
211 When existing, information from packagemanagement will not be used to
212 create dynamic exclude-lists.
216 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
218 When existing, information from packagemanagement will be used to
219 create dynamic exclude-lists. This option requires that (a known)
220 packagemanagement is configured for the vserver; else the requested
221 operation will fail. Most tools assume 'on' as the default value.
227 <collection name="vlogin">
228 <boolean id="vlogin-disable" name="disable" since="0.30.212">
230 When this file exists, vlogin isn't used on vserver <guest> enter.
236 <collection name="interfaces" use="optional">
237 <boolean id="global-vlandev" name="vlandev" since="0.30.211">
239 When this file exists, the steps which setup and destroy a VLAN
240 interface will be executed.
246 <collection name=".distributions" use="optional">
247 <collection name="dist" type="symbolic">
249 <description></description>
251 <collection name="yum">
253 The default, yum-related content of the <directory>/etc</directory>
256 <scalar name="yum.conf">
258 The master yum configuration file. It supports the @YUMETCDIR@,
259 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
260 <command>vserver ... build</command> time.
264 <collection name="yum.repos.d">
265 <description>A directory with yum repositories.</description>
267 <data name="apt.conf">
269 The default apt.conf which is going to be used. It overrides the
270 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
273 <program name="initpre">
275 Script which will be executed before packages will be installed.
278 <parameter name="confdir">
280 The configuration directory of the vserver which is going to be set up.
283 <parameter name="util-vserver-vars">
285 The pathname of the util-vserver-vars file.
290 <program name="initpost">
292 Script which will be executed after packages are installed.
295 <parameter name="confdir">
297 The configuration directory of the vserver which is going to be set up.
300 <parameter name="vserver">
302 The pathname of the util-vserver-vars file.
308 <collection name="pkgs">
310 Contains files with packagenames.
314 File which contains the name of packages. On top of file the special
315 keywords '--reinstall' and '--can-fail' are possible.
320 <collection name="pubkeys">
322 Directory with GPG pubkeys which are used to sign the packages of this
327 <collection name="apt">
329 Default content of the <directory>/etc/apt/</directory> directory.
333 <collection name="rpm">
335 Default content of the <directory>/etc/rpm</directory> directory.
341 Directory which overrides <directory>/usr/lib/rpm</directory>.
344 <link name="execdir">
346 Directory with all executables and libraries which are required for
353 <!-- Vserver configuration -->
354 <collection name="vserver-name" type="symbolic">
356 The configuration directory for the vserver vserver-name.
360 <default>../.defaults/cachebase/VSERVERNAME</default>
362 Path of the storage area for cached information about this vserver.
367 <default>../.defaults/vdirbase/VSERVERNAME</default>
369 Path of the vserver root directory.
375 Points to a file which will contain the XID of the running vserver. When
376 the vserver is stopped, this can be a dangling symlink.
380 <list id="bcapabilities" name="bcapabilities">
382 Contains the system capabilities. See
383 <ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
387 <list name="ccapabilities">
389 Contains the context capabilities. See <ulink
390 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
394 <list name="ncapabilities" since="0.30.212">
396 Contains the network capabilities. See <ulink
397 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ncaps-net.c">lib/ncaps-net.c</ulink>
402 <boolean id="global-namespace" name="namespace">
404 Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
405 namespace usage for the current vserver.
409 <boolean name="nonamespace">
411 Disables namespace usage for the current vserver.
413 In this mode the <directory>/vservers</directory> directory must have
414 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
418 <boolean id="namespace-cleanup" name="namespace-cleanup">
420 Overrides the global <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag and enables
421 namespace cleanup for the current vserver.
425 <list name="namespace-cleanup-skip">
427 List of paths to skip during namespace cleanup. This overrides the global
428 <optionref ref="global-namespace-cleanup-skip">namespace-cleanup-skip</optionref>
433 <hash name="schedule">
435 [deprecated; use <optionref ref="sched">sched</optionref> instead] Contains the
436 scheduler parameters, one per line.
438 The Hard CPU limit uses a mechanism called a Token Bucket. the
439 concept is simple: you have a bucket of a certain size which is
440 filled with a specified amount R of tokens each interval T until the
441 maximum is reached (excess tokens are spilled). At each timer tick,
442 a running process consumes one token from the bucket, unless the
443 bucket is empty. If the bucket is empty the process is put in the
444 hold queue. When the bucket has been refilled to at least M tokens,
445 all on hold processes are rescheduled.
447 See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
448 VServer Wiki</ulink> for more information about this file.
451 <key id="fill_rate" name="fill-rate">
453 Amount of tokens append to the bucket each interval.
456 <key name="interval">
458 The intervall between refills of amount <optionref>fill_rate</optionref>. This
459 value is express in ticks.
464 Initial bucket contents.
467 <key name="tokens-min">
469 The minimum amount of tokens required to unhold processes
472 <key name="tokens-max">
477 <key name="priority-bias">
486 Contains the name of the vserver. When not given, the basename of the directory
487 will be assumed as this name.
492 The nice-level on which the vserver will be started.
495 <list name="capabilities">
497 Contains per line a capability. This file is used for the 2.4 kernel
498 only; for 2.6 use <optionref>bcapabilities</optionref>.
501 <scalar name="shell">
503 Contains the pathname of the shell which will be used by the "vserver
507 <list name="personality">
509 Used to set the personality of the vserver. First line in the file
510 is the personality-type followed by flags (one item per line). See
511 <filename>/usr/include/linux/personality.h</filename> for possible
517 Contains per line a flag. See <ulink
518 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
523 <element name="fakeinit">
525 The new process will believe it is process number 1. Useful to run a
526 real /sbin/init in a vserver. Warning: this flag should not be used
527 unless you know what you are doing. Often, it is better to use the
531 <element name="lock">
533 The new process is trapped and can't use chcontext anymore.
536 <element name="sched">
538 The new process and its children will share a common
541 <element name="nproc">
543 Limit the number of process in the vserver according to
544 ulimit setting. Normally, ulimit is a per user thing.
545 With this flag, it becomes a per vserver thing.
548 <element name="private">
550 No one can join this security context once created.
553 <element name="ulimit">
555 Apply the current ulimit to the whole context
561 <list name="nflags" since="0.30.212">
563 Contains a network flag per line. See <ulink
564 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/nflags-net.c">lib/nflags-net.c</ulink>
568 <scalar name="context">
570 Contains the context which shall be used for the vserver.
573 <data id="fstab" name="fstab">
575 The fstab file for the vserver. Entries in this file will be mounted
576 within the network context of the host. Use the
577 <optionref>fstab.remote</optionref> file when you want that the
578 mounting happens in the network context of the vserver. In most cases
579 the 'fstab' file should be used.
582 <data id="fstab.remote" name="fstab.remote">
584 The fstab file for the vserver. Entries in this file will be mounted
585 within the network context of the host; this means that mount will be
586 called as <command>chbind <options> mount ...</command>. See
587 <optionref>fstab</optionref> also.
591 <collection name="apps">
592 <collection name="init">
595 The initial-mtab which will be used for the vserver.
599 <scalar name="style">
601 Contains the init-style.
604 <enumeration value="sysv"/>
605 <enumeration value="plain"/>
606 <enumeration value="minit"/>
610 <scalar name="runlevel">
611 <description>The start runlevel.</description>
614 <scalar name="runlevel.start">
615 <description>The start runlevel.</description>
618 <scalar name="runlevel.stop">
619 <description>The stop runlevel.</description>
622 <scalar name="killseq">
624 Contains the 'signal [wait signal]*' sequence which is used to stop
629 <list name="cmd.start">
631 The command which is used to start the vserver. Each option must be on
636 <list name="cmd.start-sync">
638 The command which is used to wait on the vserver after it has been
639 started. Each option must be on a separate line. This file will be
640 ignored when the <optionref>sync</optionref> flag does not exist and the
641 '--sync' option was not used.
645 <list name="cmd.stop">
647 The command which is used to stop the vserver. Each option must be on
652 <list name="cmd.stop-sync">
654 The command which is used to wait on the vserver after it has been
655 stopped. Each option must be on a separate line. This file will be
656 ignored when the <optionref>sync</optionref> flag does not exist and the
657 '--sync' option was not used.
661 <list name="cmd.prepare">
663 The command which is used to setup the init-system (e.g. to set the
664 runlevel in the utmp-file). Each option must be on a separate line.
668 <boolean id="sync" name="sync">
670 If this file is not present, all 'cmd.*-sync files will be ignored.
676 A symlink to the TTY device where input/output will be redirected
677 from/to at startup via initscript.
683 This file is used to mark group of vservers which shall be started/stopped
684 together by the initscript. Content is a simple string like 'default'.
688 <list name="depends">
690 This file is used to configure vservers which must be running before
691 the current vserver can be started. At shutdown, the current vserver
692 will be stopped before its dependencies. Content of this file are
693 vserver ids (one name per line).
697 <hash name="environment" since="0.30.211">
699 The environment to set when starting the guest. Contains one VAR=VAL
705 <collection name="vshelper">
706 <scalar name="sync-timeout">
707 <default>30</default>
709 The timeout in seconds which is used when synchronising vserver
710 startup/shutdown with the vshelper. When not set, 30 seconds will be
715 <scalar name="action">
716 <default>restart</default>
718 The action which is going to be executed when a vshelper event
719 occurs. The default value is 'restart', but there can be defined own
720 methods by placing scripts into the
721 <optionref>vshelper-methods</optionref> directories. These scripts are
722 fed with the same arguments as the <tool>vshelper</tool> script.
726 <program name="event" type="symbolic">
728 When existing, these scripts will be executed *instead* of the default
729 handler defined in 'action'. Their name must match the event which caused
730 the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
731 the vs_reboot() function in the kernel for more details.
734 <parameter name="xid">
736 The xid of the context calling the vshelper
739 <parameter name="event">
747 <boolean name="disabled">
749 When existing, the vshelper functionality will be disabled for this
754 <boolean name="debug">
756 When existing, the vshelper execution will be traced for this vserver.
760 <boolean name="warning-disabled">
762 When existing, sanity checks for the vshelper functionality will be
769 <collection id="vshelper-methods" name="vshelper-methods">
770 <program name="handler" type="symbolic">
777 <collection name="vunify">
779 This directory contains configuration data required for vserver
783 <list name="exclude">
785 <p>Static list of files which are excluded for unification. This list
786 supports an rsync-like syntax: when a file is prefixed by '+', it is a
787 candidate for unification; when there is no prefix or a '-' or a '~' it
788 will be excluded. Shell-wildcards are allowed for the filenames.</p>
789 <p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
790 of the file entirely (e.g. for keyfiles). With this tool, the file will
791 be copied instead of hardlinked when the '-' prefix is used.</p>
795 <link name="refserver.X" type="symbolic">
797 These are symlinks to the configuration directory
798 (e.g. CONFDIR/vservers/<id>) of a refserver. There may be
799 multiple such symlinks but they must be prefixed by 'refserver.' and
800 will be processed in alphanumerical order.
804 <collection name="hash" since="0.30.205">
806 A directory which will be used as the storage place for the
807 <tool>vhashify</tool> command.
809 <link name="id" type="symbolic">
811 Points to a directory within the filesystems which are used for the
812 vservers. There must be not more than one of such a directory per
817 <scalar name="method" since="0.30.299">
818 <default>SHA1</default>
819 <description>The used hash method.</description>
823 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
825 When existing, information from packagemanagement will not be used to
826 create dynamic exclude-lists.
830 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
832 When existing, information from packagemanagement will be used to
833 create dynamic exclude-lists. This option requires that (a known)
834 packagemanagement is configured for the vserver; else the requested
835 operation will fail. Most tools assume 'on' as the default value.
842 <collection name="scripts">
844 A directory for scripts. By default, when one of these scripts will be
845 executed, the execution of defaultscripts (within .../.defaults/scripts)
846 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
847 environment variable must be set by one of the in-shellcontext scripts
848 (the non-executable ones).
851 <program name="initialize" since="0.30.211">
853 The scriptlet which will be executed before the root filesystem is mounted and
854 the configuration has been loaded. Before executing the script, the
855 configuration directory will be made the working directory.
858 <parameter name="action">
860 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
863 <parameter name="vserver-name">
865 The name of the current vserver.
870 <collection name="initialize.d" since="0.30.211">
872 Repository of initialize like scripts. Before executing the script,
873 the configuration directory will be made the working directory.
875 <program name="script" type="symbolic">
876 <description>See initialize.</description>
878 <parameter name="action">
880 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
883 <parameter name="vserver-name">
885 The name of the current vserver.
892 <program name="prepre-start">
894 The scriptlet which will be executed before the network-interfaces are
895 enabled and the directories are mounted. Before executing the script,
896 the configuration directory will be made the working directory.
899 <parameter name="action">
901 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
904 <parameter name="vserver-name">
906 The name of the current vserver.
911 <collection name="prepre-start.d">
913 Repository of prepre-start like scripts. Before executing the script,
914 the configuration directory will be made the working directory.
916 <program name="script" type="symbolic">
917 <description>See prepre-start.</description>
919 <parameter name="action">
921 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
924 <parameter name="vserver-name">
926 The name of the current vserver.
933 <program name="pre-start">
935 The scriptlet which will be executed after network-interfaces were
936 enabled and the directories mounted, but before the vserver itself has
937 been started. Before executing the script, the vserver root directory
938 will be made the working directory.
941 <parameter name="action">
943 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
946 <parameter name="vserver-name">
948 The name of the current vserver.
953 <collection name="pre-start.d">
955 Repository of pre-start like scripts. Before executing these scripts,
956 the vserver root directory will be made the working directory.
958 <program name="script" type="symbolic">
959 <description>See pre-start.</description>
961 <parameter name="action">
963 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
966 <parameter name="vserver-name">
968 The name of the current vserver.
976 <program name="post-start">
978 The scriptlet which will be executed after the vserver has been
979 started. Before executing the script, the vserver root directory
980 will be made the working directory.
983 <parameter name="action">
985 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
988 <parameter name="vserver-name">
990 The name of the current vserver.
995 <collection name="post-start.d">
997 Repository of post-start like scripts. Before executing these scripts,
998 the vserver root directory will be made the working directory.
1000 <program name="script" type="symbolic">
1001 <description>See post-start.</description>
1003 <parameter name="action">
1005 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1008 <parameter name="vserver-name">
1010 The name of the current vserver.
1018 <program name="pre-stop">
1020 The scriptlet which will be executed before the vserver will be
1021 stopped. Before executing the script, the vserver root directory
1022 will be made the working directory.
1025 <parameter name="action">
1027 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1030 <parameter name="vserver-name">
1032 The name of the current vserver.
1037 <collection name="pre-stop.d">
1039 Repository of pre-stop like scripts. Before executing the script, the
1040 vserver root directory will be made the working directory.
1042 <program name="script" type="symbolic">
1043 <description>See pre-stop.</description>
1045 <parameter name="action">
1047 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1050 <parameter name="vserver-name">
1052 The name of the current vserver.
1059 <program name="post-stop">
1061 The scriptlet which will be executed after the vserver has been
1062 stopped, but before the directories will be umounted and the the
1063 interfaces disabled. Before executing the script, the vserver root
1064 directory will be made the working directory.
1067 <parameter name="action">
1069 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1072 <parameter name="vserver-name">
1074 The name of the current vserver.
1079 <collection name="post-stop.d">
1081 Repository of post-stop like scripts. Before executing the script, the
1082 vserver root directory will be made the working directory.
1084 <program name="script" type="symbolic">
1085 <description>See post-stop.</description>
1087 <parameter name="action">
1089 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1092 <parameter name="vserver-name">
1094 The name of the current vserver.
1101 <program name="postpost-stop">
1103 The scriptlet which will be executed after the vserver has been stopped
1104 completely. Before executing the script, the vserver root directory
1105 will be made the working directory.
1108 <parameter name="action">
1110 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1113 <parameter name="vserver-name">
1115 The name of the current vserver.
1120 <collection name="postpost-stop.d">
1122 Repository of postpost-stop like scripts. Before executing the script,
1123 the vserver root directory will be made the working directory.
1125 <program name="script" type="symbolic">
1126 <description>See postpost-stop.</description>
1128 <parameter name="action">
1130 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1133 <parameter name="vserver-name">
1135 The name of the current vserver.
1143 <collection name="interfaces">
1144 <scalar name="bcast">
1145 <description>The default broadcast address.</description>
1148 <description>The default network device.</description>
1150 <scalar name="prefix">
1151 <description>The default network prefix-length.</description>
1153 <scalar name="mask">
1154 <description>The default network mask.</description>
1156 <scalar name="scope">
1157 <description>The default scope of the network interfaces.</description>
1159 <boolean id="local-vlandev" name="vlandev" since="0.30.211">
1161 When this file exists, the steps which setup and destroy a VLAN
1162 interface will be executed for all interfaces of this vserver.
1165 <boolean id="local-novlandev" name="novlandev">
1167 When this file exists, the steps which setup and destroy a VLAN
1168 interface will be skipped. This overrides the global
1169 <optionref ref="global-vlandev">vlandev</optionref> setting for
1174 <collection name="iface" type="symbolic">
1176 'iface' is an arbitrary name for the interface; the value itself is
1177 not important but may be interesting regarding interface-creation and
1178 usage with <tool>chbind</tool>. Both happens in alphabetical order and
1179 numbers like '00' are good names for these directories.
1182 <boolean name="disabled">
1183 <description>When this file exists, this interface will be ignored.</description>
1187 <description>The ip which will be assigned to this interface.</description>
1189 <scalar name="bcast">
1190 <description>The broadcast address.</description>
1193 <description>The network device.</description>
1195 <scalar name="prefix">
1196 <description>The network prefix-length.</description>
1198 <scalar name="mask">
1199 <description>The network mask.</description>
1201 <scalar name="scope">
1202 <description>The scope of the network interface.</description>
1204 <scalar name="name">
1206 When this file exists, the interface will be named with the text in
1207 this file. Without such an entry, the IP will not be shown by
1208 <tool>ifconfig</tool> but by <command>ip addr ls</command> only. Such
1209 a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
1212 <boolean name="nodev">
1214 When this file exists, the interface will be assumed to exist
1215 already. This can be used to assign primary interfaces which are
1216 created by the host or another vserver.
1219 <boolean name="novlandev">
1221 When this file exists, the steps which setup and destroy a VLAN
1222 interface will be skipped. This will override the global
1223 <optionref ref="global-vlandev">vlandev</optionref> and the per-guest
1224 <optionref ref="local-vlandev">vlandev</optionref>.
1227 <boolean name="vlandev" since="0.30.211">
1229 When this file exists, the steps which setup and destroy a VLAN
1230 interface will be executed.
1236 <collection name="ulimits">
1238 A directory with ulimits. Possible resources are cpu, data, fsize,
1239 locks, memlock, nofile, nproc, rss and/or stack.
1241 <scalar name="resource" type="symbolic">
1243 A file which contains the hard- and soft-limit of the given resource
1244 in the first line. The special keyword 'inf' is recognized.
1247 <scalar name="resource.hard" type="symbolic">
1249 A file which contains the hard-limit of the given resource in the first
1250 line. The special keyword 'inf' is recognized.
1253 <scalar name="resource.soft" type="symbolic">
1255 A file which contains the soft-limit of the given resource in the first
1256 line. The special keyword 'inf' is recognized.
1261 <collection name="rlimits">
1263 A directory with resource limits. Possible resources are cpu, fsize,
1264 data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue,
1265 nsock, openfd, anon, shmem, semary, nsems and dentry. This
1266 configuration will be honored for kernel 2.6 only.
1268 <scalar name="resource" type="symbolic">
1270 A file which contains the hard- and soft-limit of the given resource
1271 in the first line. The special keyword 'inf' is recognized.
1274 <scalar name="resource.hard" type="symbolic">
1276 A file which contains the hard-limit of the given resource in the first
1277 line. The special keyword 'inf' is recognized.
1280 <scalar name="resource.soft" type="symbolic">
1282 A file which contains the soft-limit of the given resource in the first
1283 line. The special keyword 'inf' is recognized.
1286 <scalar name="resource.min" type="symbolic">
1288 A file which contains the guaranteed minimum of the given resource in
1289 the first line. The special keyword 'inf' is recognized.
1294 <collection name="uts">
1295 <scalar name="context">
1297 The context-name of the vserver. This file is listed for completeness
1298 only; the 'context' name is used and set internally by the util-vserver
1299 tools and can *not* be modified.
1302 <scalar name="sysname">
1303 <description>The sysname of the vserver</description>
1305 <scalar name="nodename">
1306 <description>The node-/hostname of the vserver</description>
1308 <scalar name="release">
1309 <description>The OS-release of the vserver</description>
1311 <scalar name="version">
1312 <description>The OS-version of the vserver</description>
1314 <scalar name="machine">
1315 <description>The machine-type of the vserver</description>
1317 <scalar name="domainname">
1318 <description>The NIS domainname of the vserver</description>
1322 <collection name="dlimits" since="0.30.210">
1323 <collection name="dlimit" type="symbolic">
1324 <scalar name="directory">
1325 <description>The directory to which the limit should be applied</description>
1327 <scalar name="inodes_total">
1328 <description>The amount of inodes this vserver should be limited to</description>
1330 <scalar name="space_total">
1331 <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
1333 <scalar name="reserved">
1334 <description>How much space (percentage-wise) should be reserved for the root user</description>
1339 <collection name="sysctl" since="0.30.213">
1340 <collection name="x" type="symbolic">
1341 <description>'x' is an arbitrary name, replace it with e.g. integers</description>
1342 <scalar name="setting">
1343 <description>The sysctl setting</description>
1345 <scalar name="value">
1346 <description>The value</description>
1351 <collection name="cpuset" since="0.30.211">
1352 <scalar name="name">
1353 <description>The name of the cpuset for this vserver</description>
1355 <scalar name="cpus">
1356 <description>The list of CPUs in this cpuset</description>
1358 <scalar name="mems">
1359 <description>The list of Memory Nodes in this cpuset</description>
1361 <scalar name="cpu_exclusive">
1362 <description>Is the CPU assignment exclusive?</description>
1364 <scalar name="mems_exclusive">
1365 <description>Is the memory node assignment exclusive?</description>
1367 <scalar name="nocreate">
1368 <description>When this file exists, the cpuset will be assumed to exist already</description>
1372 <collection id="sched" name="sched" since="0.30.212">
1373 <scalar id="global-tokens" name="tokens">
1374 <description>The initial amount of tokens to put in the bucket</description>
1376 <scalar id="global-tokens-min" name="tokens-min">
1377 <description>The minimum amount of tokens required to unhold the context</description>
1379 <scalar id="global-tokens-max" name="tokens-max">
1380 <description>The bucket's size</description>
1382 <scalar id="global-fill-rate" name="fill-rate">
1383 <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
1385 <scalar id="global-interval" name="interval">
1386 <description>The interval between refills of the bucket</description>
1388 <scalar id="global-priority-bias" name="priority-bias">
1389 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1391 <scalar id="global-fill-rate2" name="fill-rate2">
1392 <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
1394 <scalar id="global-interval2" name="interval2">
1395 <description>The interval between refills of the bucket when advancing idle time</description>
1397 <boolean id="global-idle-time" name="idle-time">
1398 <description>When this file exists, advancing idle time is activated</description>
1400 <collection name="cpu-id" type="symbolic">
1401 <description>This directory contains per-CPU and/or per-bucket specific settings. Remember to set the <optionref ref="cpu-id">cpu-id</optionref> file. All CPUs inherit the global settings.</description>
1402 <scalar name="tokens">
1403 <description>The initial amount of tokens to put in the bucket</description>
1405 <scalar name="tokens-min">
1406 <description>The minimum amount of tokens required to unhold the context</description>
1408 <scalar name="tokens-max">
1409 <description>The bucket's size</description>
1411 <scalar name="fill-rate">
1412 <description>Amount of tokens to add each <optionref ref="local-interval">interval</optionref></description>
1414 <scalar id="local-interval" name="interval">
1415 <description>The interval between refills of the bucket</description>
1417 <scalar name="priority-bias">
1418 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1420 <scalar name="fill-rate2">
1421 <description>Amount of tokens to add each <optionref ref="local-interval2">interval2</optionref> when advancing idle time</description>
1423 <scalar id="local-interval2" name="interval2">
1424 <description>The interval between refills of the bucket when advancing idle time</description>
1426 <boolean name="idle-time">
1427 <description>When this file exists, advancing idle time is activated</description>
1429 <scalar id="cpu-id" name="cpu-id">
1430 <description>The CPU to apply these settings to</description>
1432 <scalar name="bucket-id">
1433 <description>The bucket to apply these settings to</description>