updated
[util-vserver.git] / util-vserver / doc / configuration.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- <!DOCTYPE database SYSTEM "configuration.dtd" []> -->
3 <!-- $Id$ -->
4
5 <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6           xsi:noNamespaceSchemaLocation="file:configuration.xsd">
7
8   <!-- Global configuration -->
9   <collection name=".defaults" use="optional">
10     <collection name="init" type="fixed">
11       <data name="mtab">
12         <description>Default mtab file</description>
13       </data>
14     </collection>
15
16     <link name="vdirbase">
17       <default>/vservers</default>
18       <description>A link to the default vserver rootdirectory.</description>
19     </link>
20     
21     <link name="run.rev">
22       <description>
23 Path of the vserver run reverse directory. This directory contains
24 symlinks named with XID numbers which point back to the configuration
25 directory of vservers. Under kernel 2.4 this is required for the XID
26 to VSERVER mapping; Under kernel 2.6 it is unused.
27
28 NOTE: this link exists in 0.30.202+ only; in previous versions it was
29 a vserver specific setting.
30       </description>
31     </link>
32     
33     <collection name="apps">
34       <collection name="pkgmgmt">
35         <link name="base">
36           <default>/vservers/.pkg</default>
37         </link> 
38         <data name="apt.conf">
39           <description>The default apt.conf which is going to be used. It is overridden by
40 distribution specific configuration file.
41           </description>
42         </data>
43       </collection>
44       
45       <collection name="debootstrap">
46         <scalar name="mirror">
47           <description>
48 The Debian mirror to use with the 'debootstrap' program
49           </description>
50         </scalar>
51         <scalar name="uri">
52           <description>
53 When the 'debootstrap' package is not installed; fetch it from this
54 uri and install it at a temporary place.
55           </description>
56         </scalar>
57       </collection>
58
59       <collection name="vshelper">
60         <link name="logfile">
61           <description>
62 The file where output will be logged to when 'vshelper' is invoked
63 from the kernel. This should point somewhere e.g. into /var/log.
64           </description>
65         </link>
66
67         <collection name="vshelper-methods">
68           <program name="handler" type="symbolic">
69             <description>
70 See vshelper/action.
71             </description>
72           </program>
73         </collection>
74
75         <boolean name="disabled">
76           <description>
77 When existing, the vshelper functionality will be disabled for all
78 vservers.
79           </description>
80         </boolean>
81         
82         <boolean name="warning-disabled">
83           <description>
84 When existing, sanity checks for the vshelper functionality will be
85 skipped.
86           </description>
87         </boolean>
88
89       </collection>
90       
91       <collection name="vprocunhide">
92         <list name="files">
93           <description>
94 A list of files which will be made visibly by vprocunhide. Wildcards are
95 allowed and anything ending in '/' will be processed recursively. When this file exists,
96 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
97 absolute filenames inclusive the leading '/proc'.
98           </description>
99         </list>
100       </collection>
101       
102       <collection name="init">
103         <link name="tty">
104           <description>
105 A symlink to the TTY device where input/output will be redirected from/to
106 at startup via initscript.
107           </description>
108         </link>
109       </collection>
110       
111       <collection name="vunify">
112         <list name="exclude">
113           <description>Static list of excluded files.</description>
114         </list>
115       </collection>
116     </collection>
117   </collection>
118     
119   <collection name=".distributions" use="optional">
120     <collection name="dist" type="symbolic">
121       <scalar name="dev">
122         <description></description>
123       </scalar>
124       <collection name="yum">
125         <description>
126 The default, yum-related content of the /etc directory.
127         </description>
128         <scalar name="yum.conf">
129           <description>
130 The master yum configuration file. It supports the @YUMETCDIR@,
131 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
132 'vserver ... build' time.
133           </description>
134         </scalar>
135       </collection>
136       <collection name="yum.repos.d">
137         <description>A directory with yum repositories.</description>
138       </collection>
139       <data name="apt.conf">
140         <description>
141 The default apt.conf which is going to be used. It overrides the
142 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
143         </description>
144       </data>
145       <program name="initpre">
146         <description>
147 Script which will be executed before packages will be installed.
148           </description>
149         <parameterList>
150           <parameter name="confdir">
151             <description>
152 The configuration directory of the vserver which is going to be set up.
153             </description>
154           </parameter>
155           <parameter name="vserver">
156             <description>
157 The pathname of the vserver binary.
158             </description>
159           </parameter>
160         </parameterList>
161       </program>
162       <program name="initpost">
163         <description>
164 Script which will be executed after packages are installed.
165           </description>
166         <parameterList>
167           <parameter name="confdir">
168             <description>
169 The configuration directory of the vserver which is going to be set up.
170             </description>
171           </parameter>
172           <parameter name="vserver">
173             <description>
174 The pathname of the vserver binary.
175             </description>
176           </parameter>
177         </parameterList>
178       </program>
179       
180       <collection name="pkgs">
181         <description>
182 Contains files with packages.
183         </description>
184         <list name="list">
185           <description>
186 File which contains the name of packages. On top of file the special
187 keywords '--reinstall' and '--can-fail' are possible.
188           </description>
189         </list>
190       </collection>
191       
192       <collection name="pubkeys">
193         <description>
194 Directory with GPG pubkeys which are used to sign the packages of this
195 distribution.
196         </description>
197       </collection>
198       
199       <collection name="apt">
200         <description>
201 Default content of the /etc/apt/ directory.
202         </description>
203       </collection>
204       
205       <collection name="rpm">
206         <description>
207 Default content of the /etc/rpm directory.
208         </description>
209       </collection>
210       
211       <link name="rpmlib">
212         <description>
213 Directory which overrides /usr/lib/rpm.
214         </description>
215       </link>
216       <link name="execdir">
217         <description>
218 Directory with all executables and libraries which are required for
219 this distribution.
220         </description>
221       </link>
222     </collection>
223   </collection>
224   
225   <!-- Vserver configuration -->
226   <collection name="vserver-name" type="symbolic">
227     <description>
228 The configuration directory for the vserver vserver-name.
229     </description>
230     
231     <link name="vdir">
232       <description>
233 Path of the vserver root directory
234       </description>
235     </link>
236
237     <link name="run">
238       <description>
239 Points to a file which will contain the XID of the running vserver. When
240 the vserver is stopped, this can be a dangling symlink.
241       </description>
242     </link>
243
244     <list name="bcapabilities">
245       <description>
246 [experimental; name is subject of possible change] Contains the system capabilities. See
247 <ulink url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/bcaps-v13.c?rev=HEAD">lib/bcaps-v13.c</ulink>
248 for possible values.
249       </description>
250     </list>
251     <list name="ccapabilities">
252       <description>
253 [experimental; name is subject of possible change] Contains the
254 context capabilities. See <ulink
255 url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/ccaps-v13.c?rev=HEAD">lib/ccaps-v13.c</ulink>
256 for possible values.
257       </description>
258     </list>
259     <hash name="schedule">
260       <description>
261 [experimental; name is subject of possible change] Contains the
262 scheduler parameters, one per line.
263
264 The Hard CPU limit uses a mechanism called a Token Bucket.  the
265 concept is simple: you have a bucket of a certain size which is
266 filled with a specified amount R of tokens each interval T until the
267 maximum is reached (excess tokens are spilled). At each timer tick,
268 a running process consumes one token from the bucket, unless the
269 bucket is empty. If the bucket is empty the process is put in the
270 hold queue. When the bucket has been refilled to at least M tokens,
271 all on hold processes are rescheduled.
272       </description>
273       <keys>
274         <key name="fill-rate">
275           <description>
276 Amount of tokens append to the bucket each interval.
277             </description>
278         </key>
279         <key name="interval">
280           <description>
281 The intervall between refills of amount 'fill_rate'. This value is
282 express in ticks.
283           </description>
284         </key>
285         <key name="tokens">
286           <description>
287 Initial bucket contents.
288           </description>
289         </key>
290         <key name="tokens-min">
291           <description>
292 The minimum amount of tokens required to unhold processes
293           </description>
294         </key>
295         <key name="tokens-max">
296           <description>
297 The bucket size.
298           </description>
299         </key>
300         <key name="priority-bias">
301           <description>
302 ???
303           </description>
304         </key>
305       </keys>
306     </hash>
307     <scalar name="name">
308       <description>
309 Contains the name of the vserver. When not given, the basename of the directory
310 will be assumed as this name.
311       </description>
312     </scalar>
313     <scalar name="nice">
314       <description>
315 The nice-level on which the vserver will be started.
316       </description>
317     </scalar>
318     <list name="capabilities">
319       <description>
320 Contains per line a capability. This file is used for the 2.4 kernel
321 only; for 2.6 use 'bcapabilities'.
322       </description>
323     </list>
324     <scalar name="shell">
325       <description>
326 Contains the pathname of the shell which will be used by the "vserver
327 ... enter" command.
328       </description>
329     </scalar>
330     <list name="flags">
331       <description>
332 Contains per line a flag. See <ulink
333 url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD">lib/cflags-v13.c</ulink>
334 for possible values.
335       </description>
336       <elements>
337         <element name="fakeinit">
338           <description>
339 The new process will believe it is process number 1. Useful to run a
340 real /sbin/init in a vserver. Warning: this flag should not be used
341 unless you know what you are doing. Often, it is better to use the
342 'plain' initstyle.
343           </description>
344         </element>
345         <element name="lock">
346           <description>
347 The new process is trapped and can't use chcontext anymore.
348           </description>
349         </element>
350         <element name="sched">
351           <description>
352 The new process and its children will share a common
353           </description>
354         </element>
355         <element name="nproc">
356           <description>
357 Limit the number of process in the vserver according to
358 ulimit setting. Normally, ulimit is a per user thing.
359 With this flag, it becomes a per vserver thing.  
360           </description>
361         </element>
362         <element name="private">
363           <description>
364 No one can join this security context once created.
365           </description>
366         </element>
367         <element name="ulimit">
368           <description>
369 Apply the current ulimit to the whole context
370           </description>
371         </element>
372       </elements>
373     </list>
374     <scalar name="context">
375       <description>
376 Contains the context which shall be used for the vserver.
377         </description>
378     </scalar>
379     <data name="fstab">
380       <description>
381 The fstab file for the vserver. Entries in this file will be mounted
382 within the network context of the vserver; this means that mount will
383 be called as 'chbind &lt;options&gt; mount ...'. Use the 'fstab.local'
384 file when you do not want this behavior, but in most cases the 'fstab'
385 file should be used.
386       </description>
387     </data>
388     <data name="fstab.local">
389       <description>
390 The fstab file for the vserver. In opposite to the normal 'fstab'
391 file, the mounting happens in the local network context. Currently
392 there is no way to mix entries of both files; 'fstab' will be always
393 processed before 'fstab.local'.
394       </description>
395     </data>
396     
397     <collection name="apps">
398       <collection name="init">
399         <data name="mtab">
400           <description>
401 The initial-mtab which will be used for the vserver.
402           </description>
403         </data>
404         
405         <scalar name="style">
406           <description>
407 Contains the init-style.
408           </description>
409           <restriction>
410             <enumeration value="sysv"/>
411             <enumeration value="plain"/>
412             <enumeration value="minit"/>
413             <enumeration value="gento"/>
414           </restriction>
415         </scalar>
416         
417         <scalar name="runlevel">
418           <description>The start runlevel.</description>
419         </scalar>
420         
421         <scalar name="runlevel.start">
422           <description>The start runlevel.</description>
423         </scalar>
424         
425         <scalar name="runlevel.stop">
426           <description>The stop runlevel.</description>
427         </scalar>
428         
429         <scalar name="killseq">
430           <description>
431 Contains the 'signal [wait signal]*' sequence which is used to stop
432 the vserver.
433           </description>
434         </scalar>
435         
436         <list name="cmd.start">
437           <description>
438 The command which is used to start the vserver. Each option must be on
439 a separate line.
440           </description>
441         </list>
442         
443         <list name="cmd.start-sync">
444           <description>
445 The command which is used to wait on the vserver after it has been
446 started. Each option must be on a separate line. This file will be
447 ignored when the 'sync' does not exist and the '--sync' option was not
448 used.
449           </description>
450         </list>
451         
452         <list name="cmd.stop">
453           <description>
454 The command which is used to stop the vserver. Each option must be on
455 a separate line.
456           </description>
457         </list>
458         
459         <list name="cmd.stop-sync">
460           <description>
461 The command which is used to wait on the vserver after it has been
462 stopped. Each option must be on a separate line. This file will be
463 ignored when the 'sync' does not exist and the '--sync' option was not
464 used.
465           </description>
466         </list>
467         
468         <list name="cmd.prepare">
469           <description>
470 The command which is used to setup the init-system (e.g. to set the
471 runlevel in the utmp-file). Each option must be on a separate line.
472           </description>
473         </list>
474         
475         <boolean name="sync">
476           <description>
477 If this file is not present, all 'cmd.*-sync files will be ignored.
478             </description>
479         </boolean>
480         
481         <link name="tty">
482           <description>
483 A symlink to the TTY device where input/output will be redirected
484 from/to at startup via initscript.
485           </description>
486         </link>
487         
488         <scalar name="mark">
489           <description>
490 This file is used to mark group of vservers which shall be started/stopped
491 together by the initscript. Content is a simple string like 'default'.
492           </description>
493         </scalar>
494         
495         <list name="depends">
496           <description>
497 This file is used to configure vservers which must be running before
498 the current vserver can be started. At shutdown, the current vserver
499 will be stopped before its dependencies. Content of this file are
500 vserver ids (one name per line).
501           </description>
502         </list>
503       </collection>
504       
505       <collection name="vshelper">
506         <scalar name="sync-timeout">
507           <description>
508 The timeout in seconds which is used when synchronising vserver
509 startup/shutdown with the vshelper. When no set, 30 seconds will be
510 assumed.
511           </description>
512           <default>30</default>
513         </scalar>
514         
515         <scalar name="action">
516           <description>
517 The action which is going to be executed when a vshelper event occurs. The
518 default value is 'restart', but there can be defined own methods by placing
519 scripts into the 'vshelper-methods' directories. These scripts are fed with
520 the same arguments as the 'vshelper' script.
521           </description>
522           <default>restart</default>
523         </scalar>
524         
525         <program name="event" type="symbolic">
526           <description>
527 When existing. these scripts will be executed *instead* of the default
528 handler defined in 'action'. Their name must match the event which
529 caused the execution of 'vshelper'; e.g. 'restart' or 'poweroff'. See
530 the vs_reboot() function in the kernel for more details.
531           </description>
532           <parameterList>
533             <parameter name="xid">
534               <description>
535 The xid of the context calling the vshelper
536               </description>
537             </parameter>
538             <parameter name="event">
539               <description>
540 The reboot-event.
541               </description>
542             </parameter>
543           </parameterList>
544         </program>
545         
546         <boolean name="disabled">
547           <description>
548 When existing, the vshelper functionality will be disabled for this
549 vserver.
550           </description>
551         </boolean>
552         
553         <boolean name="warning-disabled">
554           <description>
555 When existing, sanity checks for the vshelper functionality will be
556 skipped.
557           </description>
558         </boolean>
559         
560       </collection>
561       
562       <collection name="vshelper-methods">
563         <program name="handler" type="symbolic">
564           <description>
565 See vshelper/action.
566           </description>
567         </program>
568       </collection>
569       
570       <collection name="vunify">
571         <description>
572 This directory contains configuration data required for vserver
573 unification.
574         </description>
575         
576         <list name="exclude">
577           <description>
578 Static list of excluded files. This list supports an rsync syntax:
579 when a file is prefixed by '+', it is a candidate for unification;
580 when there is no prefix or a '-' it will be excluded. Shell-wildcards
581 are allowed for the filenames.
582           </description>
583         </list>
584         
585         <link name="refserver.X" type="symbolic">
586           <description>
587 These are symlinks to the configuration directory
588 (e.g. CONFDIR/vservers/&lt;id&gt;) of a refserver. There may be
589 multiple such symlinks but they must be prefixed by 'refserver.' and
590 will be processed in alphanumerical order.
591           </description>
592         </link>
593       </collection>
594     </collection>
595     
596     <collection name="scripts">
597       <description>
598 A directory for scripts. By default, when one of these scripts will be
599 executed, the execution of defaultscripts (within .../.defaults/scripts)
600 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
601 environment variable must be set by one of the in-shellcontext scripts
602 (the non-executable ones).
603       </description>
604       
605       <program name="prepre-start">
606         <description>
607 The scriptlet which will be executed before the network-interfaces are
608 enabled and the directories are mounted."
609         </description>
610         <parameterList>
611           <parameter name="vserver-dir">
612             <description>
613 The configuration directory of the current vserver.
614             </description>
615           </parameter>
616           <parameter name="vserver-name">
617             <description>
618 The name of the current vserver.
619             </description>
620           </parameter>
621           <parameter name="action">
622             <description>
623 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
624             </description>
625           </parameter>
626         </parameterList>
627       </program>
628       <collection name="prepre-start.d">
629         <description>
630 Repository of prepre-start like scripts
631         </description>                                                                                                                 
632         <program name="script" type="symbolic">
633           <description>See prepre-start.</description>
634           <parameterList>
635             <parameter name="vserver-dir">
636               <description>
637 The configuration directory of the current vserver.
638               </description>
639             </parameter>
640             <parameter name="vserver-name">
641               <description>
642 The name of the current vserver.
643               </description>
644             </parameter>
645             <parameter name="action">
646               <description>
647 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
648               </description>
649             </parameter>
650           </parameterList>
651         </program>
652       </collection>
653       
654       <program name="pre-start">
655         <description>
656 The scriptlet which will be executed after network-interfaces were
657 enabled and the directories mounted, but before the vserver itself has
658 been started.
659         </description>
660         <parameterList>
661           <parameter name="vserver-dir">
662             <description>
663 The configuration directory of the current vserver.
664             </description>
665           </parameter>
666           <parameter name="vserver-name">
667             <description>
668 The name of the current vserver.
669             </description>
670           </parameter>
671           <parameter name="action">
672             <description>
673 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
674             </description>
675           </parameter>
676         </parameterList>
677       </program>
678       <collection name="pre-start.d">
679         <description>
680 Repository of pre-start like scripts
681         </description>                                                                                                                 
682         <program name="script" type="symbolic">
683           <description>See pre-start.</description>
684           <parameterList>
685             <parameter name="vserver-dir">
686               <description>
687 The configuration directory of the current vserver.
688               </description>
689             </parameter>
690             <parameter name="vserver-name">
691               <description>The name of the current vserver.</description>
692             </parameter>
693             <parameter name="action">
694               <description>
695 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
696               </description>
697             </parameter>
698           </parameterList>
699         </program>
700       </collection>
701       
702
703       <program name="post-start">
704         <description>
705 The scriptlet which will be executed after the vserver has been started.
706         </description>
707         <parameterList>
708           <parameter name="vserver-dir">
709             <description>The configuration directory of the current vserver.</description>
710           </parameter>
711           <parameter name="vserver-name">
712             <description>The name of the current vserver.</description>
713           </parameter>
714           <parameter name="action">
715             <description>
716 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
717             </description>
718           </parameter>
719         </parameterList>
720       </program>
721       <collection name="post-start.d">
722         <description>Repository of post-start like scripts</description>
723         <program name="script" type="symbolic">
724           <description>See post-start.</description>
725           <parameterList>
726             <parameter name="vserver-dir">
727               <description>The configuration directory of the current vserver.</description>
728             </parameter>
729             <parameter name="vserver-name">
730               <description>The name of the current vserver.</description>
731             </parameter>
732             <parameter name="action">
733               <description>
734 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
735               </description>
736             </parameter>
737           </parameterList>
738         </program>
739       </collection>
740
741
742       <program name="pre-stop">
743         <description>
744 The scriptlet which will be executed before the vserver will be stopped.
745         </description>
746         <parameterList>
747           <parameter name="vserver-dir">
748             <description>The configuration directory of the current vserver.</description>
749           </parameter>
750           <parameter name="vserver-name">
751             <description>The name of the current vserver.</description>
752           </parameter>
753           <parameter name="action">
754             <description>
755 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
756             </description>
757           </parameter>
758         </parameterList>
759       </program>
760       <collection name="pre-stop.d">
761         <description>
762 Repository of pre-stop like scripts
763         </description>                                                                                                                 
764         <program name="script" type="symbolic">
765           <description>See pre-stop.</description>
766           <parameterList>
767             <parameter name="vserver-dir">
768               <description>The configuration directory of the current vserver.</description>
769             </parameter>
770             <parameter name="vserver-name">
771               <description>The name of the current vserver.</description>
772             </parameter>
773             <parameter name="action">
774               <description>
775 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
776               </description>
777             </parameter>
778           </parameterList>
779         </program>
780       </collection>
781
782       <program name="post-stop">
783         <description>
784 The scriptlet which will be executed after the vserver has been
785 stopped, but before the directories will be umounted and the the
786 interfaces disabled.
787         </description>
788         <parameterList>
789           <parameter name="vserver-dir">
790             <description>The configuration directory of the current vserver.</description>
791           </parameter>
792           <parameter name="vserver-name">
793             <description>The name of the current vserver.</description>
794           </parameter>
795           <parameter name="action">
796             <description>
797 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
798             </description>
799           </parameter>
800         </parameterList>
801       </program>
802       <collection name="post-stop.d">
803         <description>Repository of post-stop like scripts</description>
804         <program name="script" type="symbolic">
805           <description>See post-stop.</description>
806           <parameterList>
807             <parameter name="vserver-dir">
808               <description>The configuration directory of the current vserver.</description>
809             </parameter>
810             <parameter name="vserver-name">
811               <description>The name of the current vserver.</description>
812             </parameter>
813             <parameter name="action">
814               <description>
815 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
816               </description>
817             </parameter>
818           </parameterList>
819         </program>
820       </collection>
821       
822       <program name="postpost-stop">
823         <description>
824 The scriptlet which will be executed after the vserver has been stopped
825 completely.
826         </description>
827         <parameterList>
828           <parameter name="vserver-dir">
829             <description>The configuration directory of the current vserver.</description>
830           </parameter>
831           <parameter name="vserver-name">
832             <description>The name of the current vserver.</description>
833           </parameter>
834           <parameter name="action">
835             <description>
836 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
837             </description>
838           </parameter>
839         </parameterList>
840       </program>
841       <collection name="postpost-stop.d">
842         <description>Repository of postpost-stop like scripts</description>
843         <program name="script" type="symbolic">
844           <description>See postpost-stop.</description>
845           <parameterList>
846             <parameter name="vserver-dir">
847               <description>The configuration directory of the current vserver.</description>
848             </parameter>
849             <parameter name="vserver-name">
850               <description>The name of the current vserver.</description>
851             </parameter>
852             <parameter name="action">
853               <description>
854 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
855               </description>
856             </parameter>
857           </parameterList>
858         </program>
859       </collection>
860     </collection>
861     
862     <collection name="interfaces">
863       <scalar name="bcast">
864         <description>The default broadcast address.</description>
865       </scalar>
866       <scalar name="dev">
867         <description>The default network device.</description>
868       </scalar>
869       <scalar name="prefix">
870         <description>The default network prefix-length.</description>
871       </scalar>
872       <scalar name="mask">
873         <description>The default network mask.</description>
874       </scalar>
875       <scalar name="scope">
876         <description>The default scope of the network interfaces.</description>
877       </scalar>
878       
879       <collection name="iface" type="symbolic">
880         <description>
881 'iface' is an arbitrary name for the interface; the value itself is
882 not important but may be interesting regarding interface-creation and
883 usage with 'chbind'. Both happens in alphabetical order and numbers
884 like '00' are good names for these directories.
885         </description>
886         
887         <boolean name="disabled">
888           <description>When this file exists, this interface will be ignored.</description>
889         </boolean>
890         
891         <scalar name="ip">
892           <description>The ip which will be assigned to this interface.</description>
893         </scalar>
894         <scalar name="bcast">
895           <description>The broadcast address.</description>
896         </scalar>
897         <scalar name="dev">
898           <description>The network device.</description>
899         </scalar>
900         <scalar name="prefix">
901           <description>The network prefix-length.</description>
902         </scalar>
903         <scalar name="mask">
904           <description>The network mask.</description>
905         </scalar>
906         <scalar name="scope">
907           <description>The scope of the network interface.</description>
908         </scalar>
909         <scalar name="name">
910           <description>
911 When this file exists, the interface will be named with the text in this
912 file. Without such an entry, the IP will not be shown by 'ifconfig' but
913 by 'ip addr ls' only.  Such a labeled interface is known as an "alias"
914 also (e.g. 'eth0:foo').
915           </description>
916         </scalar>
917         <boolean name="nodev">
918           <description>
919 When this file exists, the interface will be assumed to exist
920 already. This can be used to assign primary interfaces which are
921 created by the host or another vserver.
922           </description>
923         </boolean>
924       </collection>
925     </collection>
926     
927     <collection name="ulimits">
928       <description>
929 A directory with ulimits. Possible resources are cpu, data, fsize,
930 locks, memlock, nofile, nproc, rss and/or stack. This configuration
931 will be honored for kernel 2.4 only.
932       </description>                                                                                                                 
933       <scalar name="resource" type="symbolic">
934         <description>
935 A file which contains the hard- and soft-limit of the given resource
936 in the first line. The special keyword 'inf' is recognized.
937         </description>
938       </scalar>                                                                            
939       <scalar name="resource.hard" type="symbolic">
940         <description>
941 A file which contains the hard- of the given resource in the first
942 line. The special keyword 'inf' is recognized.
943         </description>
944       </scalar>                                                                                             
945       <scalar name="resource.soft" type="symbolic">
946         <description>
947 A file which contains the soft- of the given resource in the first
948 line. The special keyword 'inf' is recognized.
949         </description>
950       </scalar>
951     </collection>
952     
953     <collection name="rlimits">
954       <description>
955 A directory with resource limits. Possible resources are cpu, fsize,
956 data, stack, core, rss, nproc, nofile, memlock, as and locks. This
957 configuration will be honored for kernel 2.6 only.
958       </description>                                                                                                                 
959       <scalar name="resource" type="symbolic">
960         <description>
961 A file which contains the hard- and soft-limit of the given resource
962 in the first line. The special keyword 'inf' is recognized.
963         </description>
964       </scalar>                                                                            
965       <scalar name="resource.hard" type="symbolic">
966         <description>
967 A file which contains the hard- of the given resource in the first
968 line. The special keyword 'inf' is recognized.
969         </description>
970       </scalar>                                                                                             
971       <scalar name="resource.soft" type="symbolic">
972         <description>
973 A file which contains the soft- of the given resource in the first
974 line. The special keyword 'inf' is recognized.
975         </description>
976       </scalar>
977       <scalar name="resource.min" type="symbolic">
978         <description>
979 A file which contains the guaranted minimum of the given resource in
980 the first line. The special keyword 'inf' is recognized.
981         </description>
982       </scalar>
983     </collection>
984     
985     <collection name="uts">
986       <scalar name="context">
987         <description>
988 The context-name of the vserver. This file is listed for completeness
989 only; the 'context' name is used and set internally by the util-vserver
990 tools and can *not* be modified.
991         </description>
992       </scalar>
993       <scalar name="sysname">
994         <description>The sysname of the vserver</description>
995       </scalar>
996       <scalar name="nodename">
997         <description>The node-/hostname of the vserver</description>
998       </scalar>
999       <scalar name="release">
1000         <description>The OS-release of the vserver</description>
1001       </scalar>
1002       <scalar name="version">
1003         <description>The OS-version of the vserver</description>
1004       </scalar>
1005       <scalar name="machine">
1006         <description>The machine-type of the vserver</description>
1007       </scalar>
1008       <scalar name="domainname">
1009         <description>The NIS domainname of the vserver</description>
1010       </scalar>
1011     </collection>
1012   </collection>
1013   </database>