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.
68 Contains the pathname of the shell which will be used by the "vserver
69 ... enter" command. Can be overridden by the
70 <optionref ref="shell">per-guest shell</optionref>.
76 The default fstab file to put in newly built guests.
80 <collection name="apps">
81 <collection name="pkgmgmt">
83 <default>/vservers/.pkg</default>
85 <data name="apt.conf">
86 <description>The default apt.conf which is going to be used. It is overridden by
87 distribution specific configuration file.
92 <collection name="debootstrap">
93 <scalar name="mirror">
95 The Debian mirror to use with the <tool>debootstrap</tool> program
100 When the <tool>debootstrap</tool> package is not installed; fetch it
101 from this uri and install it at a temporary place.
106 <collection name="vdevmap">
107 <collection name="x" type="sybmolic">
108 <description>'x' is an arbitrary name, replace it with e.g. device names</description>
109 <boolean name="open">
110 <description>When this file exists, the device can be opened</description>
112 <boolean name="create">
113 <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
115 <boolean id="vdevmap-remap" name="remap">
117 When this file exists, <optionref ref="vdevmap-target">target</optionref> will
118 have to exist as well and opening the device will in fact open the target device
121 <scalar name="flags">
122 <description>This file will let you specify unimplemented flags manually</description>
124 <scalar name="device">
125 <description>Contains the name of a device node</description>
127 <scalar id="vdevmap-target" name="target">
128 <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>
133 <collection name="vshelper">
134 <link name="logfile">
136 The file where output will be logged to when <tool>vshelper</tool>
137 is invoked from the kernel. This should point somewhere e.g. into
138 <directory>/var/log</directory>.
142 <collection name="vshelper-methods">
143 <program name="handler" type="symbolic">
145 See <optionref ref="vshelper-action">vshelper/action</optionref>.
150 <boolean name="disabled">
152 When existing, the vshelper functionality will be disabled for all
157 <boolean name="debug">
159 When existing, the vshelper execution will be traced.
163 <boolean name="warning-disabled">
165 When existing, sanity checks for the vshelper functionality will be
172 <collection name="vprocunhide">
175 A list of files which will be made visible by vprocunhide. Wildcards are
176 allowed and anything ending in '/' will be processed recursively. When this file exists,
177 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
178 absolute filenames inclusive the leading '/proc'.
183 <collection name="init">
186 A symlink to the TTY device where input/output will be redirected from/to
187 at startup via initscript.
191 <hash id="global-environment" name="environment" since="0.30.211">
193 The environment to set when starting guests. Contains one VAR=VAL
199 <collection name="vunify">
200 <list name="exclude">
201 <description>Static list of excluded files.</description>
204 <collection name="hash" since="0.30.205">
206 A directory which will be used as the storage place for the
207 <tool>vhashify</tool> command.
209 <link name="id" type="symbolic">
211 Points to a directory within the filesystems which are used for the
212 vservers. There must be not more than one of such a directory per
217 <scalar name="method" since="0.30.299">
218 <default>SHA1</default>
219 <description>The used hash method.</description>
223 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
225 When existing, information from packagemanagement will not be used to
226 create dynamic exclude-lists.
230 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
232 When existing, information from packagemanagement will be used to
233 create dynamic exclude-lists. This option requires that (a known)
234 packagemanagement is configured for the vserver; else the requested
235 operation will fail. Most tools assume 'on' as the default value.
241 <collection name="vlogin">
242 <boolean id="vlogin-disable" name="disable" since="0.30.212">
244 When this file exists, vlogin isn't used on vserver <guest> enter.
249 <collection name="build">
250 <list name="options">
252 A list of default options to supply to vserver ... build, one option per line.
258 <collection name="interfaces" use="optional">
259 <boolean id="global-vlandev" name="vlandev" since="0.30.211">
261 When this file exists, the steps which setup and destroy a VLAN
262 interface will be executed.
267 <collection name="files">
268 <description>This directory contains some files which will be copied to the guests during build.</description>
270 <description>The default /etc/hosts file.</description>
272 <data name="nsswitch.conf">
273 <description>The default /etc/nsswitch.conf file.</description>
275 <data name="krb5.conf">
276 <description>The default /etc/krb5.conf file.</description>
278 <data name="krb.conf">
279 <description>The default /etc/krb.conf file.</description>
281 <data name="krb.realms">
282 <description>The default /etc/krb.realms file.</description>
284 <data name="ldap.conf">
285 <description>The default /etc/ldap.conf file.</description>
287 <data name="localtime">
288 <description>The default /etc/localtime file.</description>
290 <data name="resolv.conf">
291 <description>The default /etc/resolv.conf file.</description>
296 <collection name=".distributions" use="optional">
297 <collection name="dist" type="symbolic">
299 <description></description>
301 <collection name="yum">
303 The default, yum-related content of the <directory>/etc</directory>
306 <scalar name="yum.conf">
308 The master yum configuration file. It supports the @YUMETCDIR@,
309 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
310 <command>vserver ... build</command> time.
314 <collection name="yum.repos.d">
315 <description>A directory with yum repositories.</description>
317 <data name="apt.conf">
319 The default apt.conf which is going to be used. It overrides the
320 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
323 <program name="initpre">
325 Script which will be executed before packages will be installed.
328 <parameter name="confdir">
330 The configuration directory of the vserver which is going to be set up.
333 <parameter name="util-vserver-vars">
335 The pathname of the util-vserver-vars file.
340 <program name="initpost">
342 Script which will be executed after packages are installed.
345 <parameter name="confdir">
347 The configuration directory of the vserver which is going to be set up.
350 <parameter name="vserver">
352 The pathname of the util-vserver-vars file.
358 <collection name="pkgs">
360 Contains files with packagenames.
364 File which contains the name of packages. On top of file the special
365 keywords '--reinstall' and '--can-fail' are possible.
370 <collection name="pubkeys">
372 Directory with GPG pubkeys which are used to sign the packages of this
377 <collection name="apt">
379 Default content of the <directory>/etc/apt/</directory> directory.
383 <collection name="rpm">
385 Default content of the <directory>/etc/rpm</directory> directory.
391 Directory which overrides <directory>/usr/lib/rpm</directory>.
394 <link name="execdir">
396 Directory with all executables and libraries which are required for
403 <!-- Vserver configuration -->
404 <collection name="vserver-name" type="symbolic">
406 The configuration directory for the vserver vserver-name.
410 <default>../.defaults/cachebase/VSERVERNAME</default>
412 Path of the storage area for cached information about this vserver.
417 <default>../.defaults/vdirbase/VSERVERNAME</default>
419 Path of the vserver root directory.
425 Points to a file which will contain the XID of the running vserver. When
426 the vserver is stopped, this can be a dangling symlink.
430 <list id="bcapabilities" name="bcapabilities">
432 Contains the system capabilities. See
433 <ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
437 <list name="ccapabilities">
439 Contains the context capabilities. See <ulink
440 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
444 <list name="ncapabilities" since="0.30.212">
446 Contains the network capabilities. See <ulink
447 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ncaps-net.c">lib/ncaps-net.c</ulink>
452 <boolean id="global-namespace" name="namespace">
454 Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
455 namespace usage for the current vserver.
459 <boolean name="nonamespace">
461 Disables namespace usage for the current vserver.
463 In this mode the <directory>/vservers</directory> directory must have
464 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
468 <boolean id="namespace-cleanup" name="namespace-cleanup">
470 Overrides the global <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag and enables
471 namespace cleanup for the current vserver.
475 <list name="namespace-cleanup-skip">
477 List of paths to skip during namespace cleanup. This overrides the global
478 <optionref ref="global-namespace-cleanup-skip">namespace-cleanup-skip</optionref>
483 <hash name="schedule">
485 [deprecated; use <optionref ref="sched">sched</optionref> instead] Contains the
486 scheduler parameters, one per line.
488 The Hard CPU limit uses a mechanism called a Token Bucket. the
489 concept is simple: you have a bucket of a certain size which is
490 filled with a specified amount R of tokens each interval T until the
491 maximum is reached (excess tokens are spilled). At each timer tick,
492 a running process consumes one token from the bucket, unless the
493 bucket is empty. If the bucket is empty the process is put in the
494 hold queue. When the bucket has been refilled to at least M tokens,
495 all on hold processes are rescheduled.
497 See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
498 VServer Wiki</ulink> for more information about this file.
501 <key id="fill_rate" name="fill-rate">
503 Amount of tokens append to the bucket each interval.
506 <key name="interval">
508 The intervall between refills of amount <optionref>fill_rate</optionref>. This
509 value is express in ticks.
514 Initial bucket contents.
517 <key name="tokens-min">
519 The minimum amount of tokens required to unhold processes
522 <key name="tokens-max">
527 <key name="priority-bias">
536 Contains the name of the vserver. When not given, the basename of the directory
537 will be assumed as this name.
542 The nice-level on which the vserver will be started.
545 <list name="capabilities">
547 Contains per line a capability. This file is used for the 2.4 kernel
548 only; for 2.6 use <optionref>bcapabilities</optionref>.
551 <scalar id="shell" name="shell">
553 Contains the pathname of the shell which will be used by the "vserver
557 <list name="personality">
559 Used to set the personality of the vserver. First line in the file
560 is the personality-type followed by flags (one item per line). See
561 <filename>/usr/include/linux/personality.h</filename> for possible
567 Contains per line a flag. See <ulink
568 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
573 <element name="fakeinit">
575 The new process will believe it is process number 1. Useful to run a
576 real /sbin/init in a vserver. Warning: this flag should not be used
577 unless you know what you are doing. Often, it is better to use the
581 <element name="lock">
583 The new process is trapped and can't use chcontext anymore.
586 <element name="sched">
588 The new process and its children will share a common
591 <element name="nproc">
593 Limit the number of process in the vserver according to
594 ulimit setting. Normally, ulimit is a per user thing.
595 With this flag, it becomes a per vserver thing.
598 <element name="private">
600 No one can join this security context once created.
603 <element name="ulimit">
605 Apply the current ulimit to the whole context
611 <list name="nflags" since="0.30.212">
613 Contains a network flag per line. See <ulink
614 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/nflags-net.c">lib/nflags-net.c</ulink>
618 <scalar name="context">
620 Contains the context which shall be used for the vserver.
623 <data id="fstab" name="fstab">
625 The fstab file for the vserver. Entries in this file will be mounted
626 within the network context of the host. Use the
627 <optionref>fstab.remote</optionref> file when you want that the
628 mounting happens in the network context of the vserver. In most cases
629 the 'fstab' file should be used.
632 <data id="fstab.remote" name="fstab.remote">
634 The fstab file for the vserver. Entries in this file will be mounted
635 within the network context of the host; this means that mount will be
636 called as <command>chbind <options> mount ...</command>. See
637 <optionref>fstab</optionref> also.
641 <collection name="apps">
642 <collection name="init">
645 The initial-mtab which will be used for the vserver.
649 <scalar name="style">
651 Contains the init-style.
654 <enumeration value="sysv"/>
655 <enumeration value="plain"/>
656 <enumeration value="minit"/>
660 <scalar name="runlevel">
661 <description>The start runlevel.</description>
664 <scalar name="runlevel.start">
665 <description>The start runlevel.</description>
668 <scalar name="runlevel.stop">
669 <description>The stop runlevel.</description>
672 <scalar name="killseq">
674 Contains the 'signal [wait signal]*' sequence which is used to stop
679 <list name="cmd.start">
681 The command which is used to start the vserver. Each option must be on
686 <list name="cmd.start-sync">
688 The command which is used to wait on the vserver after it has been
689 started. Each option must be on a separate line. This file will be
690 ignored when the <optionref>sync</optionref> flag does not exist and the
691 '--sync' option was not used.
695 <list name="cmd.stop">
697 The command which is used to stop the vserver. Each option must be on
702 <list name="cmd.stop-sync">
704 The command which is used to wait on the vserver after it has been
705 stopped. Each option must be on a separate line. This file will be
706 ignored when the <optionref>sync</optionref> flag does not exist and the
707 '--sync' option was not used.
711 <list name="cmd.prepare">
713 The command which is used to setup the init-system (e.g. to set the
714 runlevel in the utmp-file). Each option must be on a separate line.
718 <boolean id="sync" name="sync">
720 If this file is not present, all 'cmd.*-sync files will be ignored.
726 A symlink to the TTY device where input/output will be redirected
727 from/to at startup via initscript.
733 This file is used to mark group of vservers which shall be started/stopped
734 together by the initscript. Content is a simple string like 'default'.
738 <list name="depends">
740 This file is used to configure vservers which must be running before
741 the current vserver can be started. At shutdown, the current vserver
742 will be stopped before its dependencies. Content of this file are
743 vserver ids (one name per line).
747 <hash name="environment" since="0.30.211">
749 The environment to set when starting the guest. Contains one VAR=VAL
755 <collection name="vshelper">
756 <scalar name="sync-timeout">
757 <default>30</default>
759 The timeout in seconds which is used when synchronising vserver
760 startup/shutdown with the vshelper. When not set, 30 seconds will be
765 <scalar id="vshelper-action" name="action">
766 <default>restart</default>
768 The action which is going to be executed when a vshelper event
769 occurs. The default value is 'restart', but there can be defined own
770 methods by placing scripts into the
771 <optionref>vshelper-methods</optionref> directories. These scripts are
772 fed with the same arguments as the <tool>vshelper</tool> script.
776 <program name="event" type="symbolic">
778 When existing, these scripts will be executed *instead* of the default
779 handler defined in 'action'. Their name must match the event which caused
780 the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
781 the vs_reboot() function in the kernel for more details.
784 <parameter name="xid">
786 The xid of the context calling the vshelper
789 <parameter name="event">
797 <boolean name="disabled">
799 When existing, the vshelper functionality will be disabled for this
804 <boolean name="debug">
806 When existing, the vshelper execution will be traced for this vserver.
810 <boolean name="warning-disabled">
812 When existing, sanity checks for the vshelper functionality will be
819 <collection id="vshelper-methods" name="vshelper-methods">
820 <program name="handler" type="symbolic">
822 See <optionref ref="vshelper-action">vshelper/action</optionref>.
827 <collection name="vunify">
829 This directory contains configuration data required for vserver
833 <list name="exclude">
835 <p>Static list of files which are excluded for unification. This list
836 supports an rsync-like syntax: when a file is prefixed by '+', it is a
837 candidate for unification; when there is no prefix or a '-' or a '~' it
838 will be excluded. Shell-wildcards are allowed for the filenames.</p>
839 <p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
840 of the file entirely (e.g. for keyfiles). With this tool, the file will
841 be copied instead of hardlinked when the '-' prefix is used.</p>
845 <link name="refserver.X" type="symbolic">
847 These are symlinks to the configuration directory
848 (e.g. CONFDIR/vservers/<id>) of a refserver. There may be
849 multiple such symlinks but they must be prefixed by 'refserver.' and
850 will be processed in alphanumerical order.
854 <collection name="hash" since="0.30.205">
856 A directory which will be used as the storage place for the
857 <tool>vhashify</tool> command.
859 <link name="id" type="symbolic">
861 Points to a directory within the filesystems which are used for the
862 vservers. There must be not more than one of such a directory per
867 <scalar name="method" since="0.30.299">
868 <default>SHA1</default>
869 <description>The used hash method.</description>
873 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
875 When existing, information from packagemanagement will not be used to
876 create dynamic exclude-lists.
880 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
882 When existing, information from packagemanagement will be used to
883 create dynamic exclude-lists. This option requires that (a known)
884 packagemanagement is configured for the vserver; else the requested
885 operation will fail. Most tools assume 'on' as the default value.
892 <collection name="scripts">
894 A directory for scripts. By default, when one of these scripts will be
895 executed, the execution of defaultscripts (within .../.defaults/scripts)
896 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
897 environment variable must be set by one of the in-shellcontext scripts
898 (the non-executable ones).
901 <program name="initialize" since="0.30.211">
903 The scriptlet which will be executed before the root filesystem is mounted and
904 the configuration has been loaded. Before executing the script, the
905 configuration directory will be made the working directory.
908 <parameter name="action">
910 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
913 <parameter name="vserver-name">
915 The name of the current vserver.
920 <collection name="initialize.d" since="0.30.211">
922 Repository of initialize like scripts. Before executing the script,
923 the configuration directory will be made the working directory.
925 <program name="script" type="symbolic">
926 <description>See initialize.</description>
928 <parameter name="action">
930 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
933 <parameter name="vserver-name">
935 The name of the current vserver.
942 <program name="prepre-start">
944 The scriptlet which will be executed before the network-interfaces are
945 enabled and the directories are mounted. Before executing the script,
946 the configuration directory will be made the working directory.
949 <parameter name="action">
951 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
954 <parameter name="vserver-name">
956 The name of the current vserver.
961 <collection name="prepre-start.d">
963 Repository of prepre-start like scripts. Before executing the script,
964 the configuration directory will be made the working directory.
966 <program name="script" type="symbolic">
967 <description>See prepre-start.</description>
969 <parameter name="action">
971 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
974 <parameter name="vserver-name">
976 The name of the current vserver.
983 <program name="pre-start">
985 The scriptlet which will be executed after network-interfaces were
986 enabled and the directories mounted, but before the vserver itself has
987 been started. Before executing the script, the vserver root directory
988 will be made the working directory.
991 <parameter name="action">
993 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
996 <parameter name="vserver-name">
998 The name of the current vserver.
1003 <collection name="pre-start.d">
1005 Repository of pre-start like scripts. Before executing these scripts,
1006 the vserver root directory will be made the working directory.
1008 <program name="script" type="symbolic">
1009 <description>See pre-start.</description>
1011 <parameter name="action">
1013 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1016 <parameter name="vserver-name">
1018 The name of the current vserver.
1026 <program name="post-start">
1028 The scriptlet which will be executed after the vserver has been
1029 started. Before executing the script, the vserver root directory
1030 will be made the working directory.
1033 <parameter name="action">
1035 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1038 <parameter name="vserver-name">
1040 The name of the current vserver.
1045 <collection name="post-start.d">
1047 Repository of post-start like scripts. Before executing these scripts,
1048 the vserver root directory will be made the working directory.
1050 <program name="script" type="symbolic">
1051 <description>See post-start.</description>
1053 <parameter name="action">
1055 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1058 <parameter name="vserver-name">
1060 The name of the current vserver.
1068 <program name="pre-stop">
1070 The scriptlet which will be executed before the vserver will be
1071 stopped. Before executing the script, the vserver root directory
1072 will be made the working directory.
1075 <parameter name="action">
1077 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1080 <parameter name="vserver-name">
1082 The name of the current vserver.
1087 <collection name="pre-stop.d">
1089 Repository of pre-stop like scripts. Before executing the script, the
1090 vserver root directory will be made the working directory.
1092 <program name="script" type="symbolic">
1093 <description>See pre-stop.</description>
1095 <parameter name="action">
1097 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1100 <parameter name="vserver-name">
1102 The name of the current vserver.
1109 <program name="post-stop">
1111 The scriptlet which will be executed after the vserver has been
1112 stopped, but before the directories will be umounted and the the
1113 interfaces disabled. Before executing the script, the vserver root
1114 directory will be made the working directory.
1117 <parameter name="action">
1119 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1122 <parameter name="vserver-name">
1124 The name of the current vserver.
1129 <collection name="post-stop.d">
1131 Repository of post-stop like scripts. Before executing the script, the
1132 vserver root directory will be made the working directory.
1134 <program name="script" type="symbolic">
1135 <description>See post-stop.</description>
1137 <parameter name="action">
1139 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1142 <parameter name="vserver-name">
1144 The name of the current vserver.
1151 <program name="postpost-stop">
1153 The scriptlet which will be executed after the vserver has been stopped
1154 completely. Before executing the script, the vserver root directory
1155 will be made the working directory.
1158 <parameter name="action">
1160 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1163 <parameter name="vserver-name">
1165 The name of the current vserver.
1170 <collection name="postpost-stop.d">
1172 Repository of postpost-stop like scripts. Before executing the script,
1173 the vserver root directory will be made the working directory.
1175 <program name="script" type="symbolic">
1176 <description>See postpost-stop.</description>
1178 <parameter name="action">
1180 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1183 <parameter name="vserver-name">
1185 The name of the current vserver.
1193 <collection name="interfaces">
1194 <scalar name="bcast">
1195 <description>The default broadcast address.</description>
1198 <description>The default network device.</description>
1200 <scalar name="prefix">
1201 <description>The default network prefix-length.</description>
1203 <scalar name="mask">
1204 <description>The default network mask.</description>
1206 <scalar name="scope">
1207 <description>The default scope of the network interfaces.</description>
1209 <boolean id="local-vlandev" name="vlandev" since="0.30.211">
1211 When this file exists, the steps which setup and destroy a VLAN
1212 interface will be executed for all interfaces of this vserver.
1215 <boolean id="local-novlandev" name="novlandev">
1217 When this file exists, the steps which setup and destroy a VLAN
1218 interface will be skipped. This overrides the global
1219 <optionref ref="global-vlandev">vlandev</optionref> setting for
1224 <collection name="iface" type="symbolic">
1226 'iface' is an arbitrary name for the interface; the value itself is
1227 not important but may be interesting regarding interface-creation and
1228 usage with <tool>chbind</tool>. Both happens in alphabetical order and
1229 numbers like '00' are good names for these directories.
1232 <boolean name="disabled">
1233 <description>When this file exists, this interface will be ignored.</description>
1237 <description>The ip which will be assigned to this interface.</description>
1239 <scalar name="bcast">
1240 <description>The broadcast address.</description>
1243 <description>The network device.</description>
1245 <scalar name="prefix">
1246 <description>The network prefix-length.</description>
1248 <scalar name="mask">
1249 <description>The network mask.</description>
1251 <scalar name="scope">
1252 <description>The scope of the network interface.</description>
1254 <scalar name="name">
1256 When this file exists, the interface will be named with the text in
1257 this file. Without such an entry, the IP will not be shown by
1258 <tool>ifconfig</tool> but by <command>ip addr ls</command> only. Such
1259 a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
1262 <boolean name="nodev">
1264 When this file exists, the interface will be assumed to exist
1265 already. This can be used to assign primary interfaces which are
1266 created by the host or another vserver.
1269 <boolean name="novlandev">
1271 When this file exists, the steps which setup and destroy a VLAN
1272 interface will be skipped. This will override the global
1273 <optionref ref="global-vlandev">vlandev</optionref> and the per-guest
1274 <optionref ref="local-vlandev">vlandev</optionref>.
1277 <boolean name="vlandev" since="0.30.211">
1279 When this file exists, the steps which setup and destroy a VLAN
1280 interface will be executed.
1286 <collection name="ulimits">
1288 A directory with ulimits. Possible resources are cpu, data, fsize,
1289 locks, memlock, nofile, nproc, rss and/or stack.
1291 <scalar name="resource" type="symbolic">
1293 A file which contains the hard- and soft-limit of the given resource
1294 in the first line. The special keyword 'inf' is recognized.
1297 <scalar name="resource.hard" type="symbolic">
1299 A file which contains the hard-limit of the given resource in the first
1300 line. The special keyword 'inf' is recognized.
1303 <scalar name="resource.soft" type="symbolic">
1305 A file which contains the soft-limit of the given resource in the first
1306 line. The special keyword 'inf' is recognized.
1311 <collection name="rlimits">
1313 A directory with resource limits. Possible resources are cpu, fsize,
1314 data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue,
1315 nsock, openfd, anon, shmem, semary, nsems and dentry. This
1316 configuration will be honored for kernel 2.6 only.
1318 <scalar name="resource" type="symbolic">
1320 A file which contains the hard- and soft-limit of the given resource
1321 in the first line. The special keyword 'inf' is recognized.
1324 <scalar name="resource.hard" type="symbolic">
1326 A file which contains the hard-limit of the given resource in the first
1327 line. The special keyword 'inf' is recognized.
1330 <scalar name="resource.soft" type="symbolic">
1332 A file which contains the soft-limit of the given resource in the first
1333 line. The special keyword 'inf' is recognized.
1336 <scalar name="resource.min" type="symbolic">
1338 A file which contains the guaranteed minimum of the given resource in
1339 the first line. The special keyword 'inf' is recognized.
1344 <collection name="uts">
1345 <scalar name="context">
1347 The context-name of the vserver. This file is listed for completeness
1348 only; the 'context' name is used and set internally by the util-vserver
1349 tools and can *not* be modified.
1352 <scalar name="sysname">
1353 <description>The sysname of the vserver</description>
1355 <scalar name="nodename">
1356 <description>The node-/hostname of the vserver</description>
1358 <scalar name="release">
1359 <description>The OS-release of the vserver</description>
1361 <scalar name="version">
1362 <description>The OS-version of the vserver</description>
1364 <scalar name="machine">
1365 <description>The machine-type of the vserver</description>
1367 <scalar name="domainname">
1368 <description>The NIS domainname of the vserver</description>
1372 <collection name="dlimits" since="0.30.210">
1373 <collection name="dlimit" type="symbolic">
1374 <scalar name="directory">
1375 <description>The directory to which the limit should be applied</description>
1377 <scalar name="inodes_total">
1378 <description>The amount of inodes this vserver should be limited to</description>
1380 <scalar name="space_total">
1381 <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
1383 <scalar name="reserved">
1384 <description>How much space (percentage-wise) should be reserved for the root user</description>
1389 <collection name="sysctl" since="0.30.213">
1390 <collection name="x" type="symbolic">
1391 <description>'x' is an arbitrary name, replace it with e.g. integers</description>
1392 <scalar name="setting">
1393 <description>The sysctl setting</description>
1395 <scalar name="value">
1396 <description>The value</description>
1401 <collection name="cpuset" since="0.30.211">
1402 <scalar name="name">
1403 <description>The name of the cpuset for this vserver</description>
1405 <scalar name="cpus">
1406 <description>The list of CPUs in this cpuset</description>
1408 <scalar name="mems">
1409 <description>The list of Memory Nodes in this cpuset</description>
1411 <scalar name="cpu_exclusive">
1412 <description>Is the CPU assignment exclusive?</description>
1414 <scalar name="mems_exclusive">
1415 <description>Is the memory node assignment exclusive?</description>
1417 <scalar name="nocreate">
1418 <description>When this file exists, the cpuset will be assumed to exist already</description>
1422 <collection id="sched" name="sched" since="0.30.212">
1423 <scalar id="global-tokens" name="tokens">
1424 <description>The initial amount of tokens to put in the bucket</description>
1426 <scalar id="global-tokens-min" name="tokens-min">
1427 <description>The minimum amount of tokens required to unhold the context</description>
1429 <scalar id="global-tokens-max" name="tokens-max">
1430 <description>The bucket's size</description>
1432 <scalar id="global-fill-rate" name="fill-rate">
1433 <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
1435 <scalar id="global-interval" name="interval">
1436 <description>The interval between refills of the bucket</description>
1438 <scalar id="global-priority-bias" name="priority-bias">
1439 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1441 <scalar id="global-fill-rate2" name="fill-rate2">
1442 <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
1444 <scalar id="global-interval2" name="interval2">
1445 <description>The interval between refills of the bucket when advancing idle time</description>
1447 <boolean id="global-idle-time" name="idle-time">
1448 <description>When this file exists, advancing idle time is activated</description>
1450 <collection name="cpu-id" type="symbolic">
1451 <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>
1452 <scalar name="tokens">
1453 <description>The initial amount of tokens to put in the bucket</description>
1455 <scalar name="tokens-min">
1456 <description>The minimum amount of tokens required to unhold the context</description>
1458 <scalar name="tokens-max">
1459 <description>The bucket's size</description>
1461 <scalar name="fill-rate">
1462 <description>Amount of tokens to add each <optionref ref="local-interval">interval</optionref></description>
1464 <scalar id="local-interval" name="interval">
1465 <description>The interval between refills of the bucket</description>
1467 <scalar name="priority-bias">
1468 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1470 <scalar name="fill-rate2">
1471 <description>Amount of tokens to add each <optionref ref="local-interval2">interval2</optionref> when advancing idle time</description>
1473 <scalar id="local-interval2" name="interval2">
1474 <description>The interval between refills of the bucket when advancing idle time</description>
1476 <boolean name="idle-time">
1477 <description>When this file exists, advancing idle time is activated</description>
1479 <scalar id="cpu-id" name="cpu-id">
1480 <description>The CPU to apply these settings to</description>
1482 <scalar name="bucket-id">
1483 <description>The bucket to apply these settings to</description>