The content of the /etc/vservers directory
- /etc/vservers/.defaults
- vdirbase
- /etc/vservers/.defaults/apps
- /etc/vservers/.defaults/apps/debootstrap
- mirror
The Debian mirror which is used for 'debootstrap'. - uri
When the 'debootstrap' package is not installed; fetch it from this uri and
install it at a temporary place.
- /etc/vservers/.defaults/apps/init
- tty
A symlink to the TTY device where input/output will be redirected from/to
at startup via initscript.
- /etc/vservers/.defaults/apps/pkgmgmt
- apt.conf
The default apt.conf which is going to be used. It is overridden by
distribution specific configuration file. - base
- /etc/vservers/.defaults/apps/vprocunhide
- files
A list of files which will be made visibly by vprocunhide. Wildcards are
allowed and anything ending in '/' will be processed recursively. When this file exists,
it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files.
- /etc/vservers/.defaults/init
- /etc/vservers/.distributions
- /etc/vservers/.distributions/dist
- apt.conf
The default apt.conf which is going to be used. It overrides the apt.conf
from CONFDIR/.defaults/apps/pkgmgmt. - dev
- execdir
Directory with all executables and libraries which are required for this
distribution. - initpost
Script which will be executed after packages are installed. - initpre
Script which will be executed before packages will be installed. - rpmlib
Directory which overrides /usr/lib/rpm. - /etc/vservers/.distributions/dist/apt
Default content of the /etc/apt/ directory. - /etc/vservers/.distributions/dist/pkgs
Contains files with packages.- list
File which contains the name of packages. On top of file the special
keywords '--reinstall' and '--can-fail' are possible.
- /etc/vservers/.distributions/dist/pubkeys
Directory with GPG pubkeys which are used to sign the packages of this
distribution. - /etc/vservers/.distributions/dist/rpm
Default content of the /etc/rpm directory.
- /etc/vservers/vserver-name
The configuration directory for the vserver vserver-name.- capabilities
Contains per line a capability. - context
Contains the context which shall be used for the vserver. - domainname
The domainname of the vserver. - flags
Contains per line a flag. - fstab
The fstab file for the vserver. - hostname
Contains the hostname of the vserver. - name
Contains the name of the vserver. When not given, the basename of the directory
will be assumed as this name. - nice
The nice-level on which the vserver will be started. - shell
Contains the pathname of the shell which will be used by the "vserver ... enter"
command. - /etc/vservers/vserver-name/apps
- /etc/vservers/vserver-name/apps/init
- cmd.prepare
The command which is used to setup the init-system (e.g. to set the runlevel
in the utmp-file). Each option must be on a separate line. - cmd.start
The command which is used to start the vserver. Each option must be on a
separate line. - cmd.start-sync
The command which is used to wait on the vserver after it has been
started. Each option must be on a separate line. This file will be ignored when the
'sync' does not exist and the '--sync' option was not used. - cmd.stop
The command which is used to stop the vserver. Each option must be on a
separate line. - cmd.stop-sync
The command which is used to wait on the vserver after it has been
stopped. Each option must be on a separate line. This file will be ignored when the
'sync' does not exist and the '--sync' option was not used. - killseq
Contains the 'signal [wait signal]*' sequence which is used to stop the
vserver. - mtab
The initial-mtab which will be used for the vserver. - runlevel
The start runlevel. - runlevel.start
The start runlevel. - runlevel.stop
The stop runlevel. - style
Contains the init-style; possible values are 'sysv', 'plain' and
'minit'. - sync
Without this file, the 'cmd.*-sync' files will be ignored. - tty
A symlink to the TTY device where input/output will be redirected from/to
at startup via initscript.
- /etc/vservers/vserver-name/interfaces
- bcast
The deafult broadcast address. - dev
The default network-device. - mask
The default network-mask. - prefix
The default network-prefix. - scope
The default scope of the network interfaces. - /etc/vservers/vserver-name/interfaces/iface
- bcast
The broadcast address. - dev
The network-device. - disabled
When this file exists, this interface will be ignored. - ip
The ip which will be assigned to this interface. - mask
The network-mask. - name
When this file exists, the interface will be named with the text in this file. - nodev
When this file exists, the interface will be assumed to exist already. A
former name for this flag was 'only_ip' which is deprecated now. - prefix
The network-prefix. - scope
The scope of the network interfaces.
- /etc/vservers/vserver-name/rlimits
see ulimits - /etc/vservers/vserver-name/scripts
- post-start
The scriptlet which will be executed after the vserver has been started. - post-stop
The scriptlet which will be executed after the vserver has been stopped, but
before the directories will be umounted and the the interfaces
disabled. - postpost-stop
The scriptlet which will be executed after the vserver has been stopped
completely. - pre-start
The scriptlet which will be executed after network-interfaces were enabled and
the directories mounted, but before the vserver itself has been
started. - pre-stop
The scriptlet which will be executed before the vserver will be stopped. - prepre-start
The scriptlet which will be executed before the network-interfaces are enabled
and the directories are mounted. - /etc/vservers/vserver-name/scripts/post-start.d
A directory with scriptlets which will be executed after the vserver has been started.- script
A scriptlet which will be executed after the vserver has been started.
- /etc/vservers/vserver-name/scripts/post-stop.d
A directory with scriptlets which will be executed after the vserver has been stopped, but
before the directories will be umounted and the the interfaces
disabled.- script
A scriptlet which will be executed after the vserver has been stopped, but
before the directories will be umounted and the the interfaces
disabled.
- /etc/vservers/vserver-name/scripts/postpost-stop.d
A directory with scriptlets which will be executed after the vserver has been stopped
completely.- script
A scriptlet which will be executed after the vserver has been stopped
completely.
- /etc/vservers/vserver-name/scripts/pre-start.d
A directory with scriptlets which will be executed after network-interfaces were enabled and
the directories mounted, but before the vserver itself has been
started.- script
A scriptlet which will be executed after network-interfaces were enabled and
the directories mounted, but before the vserver itself has been
started.
- /etc/vservers/vserver-name/scripts/pre-stop.d
A directory with scriptlets which will be executed before the vserver will be stopped.- script
A scriptlet which will be executed before the vserver will be stopped.
- /etc/vservers/vserver-name/scripts/prepre-start.d
A directory with scriptlets which will be executed before the network-interfaces are enabled
and the directories are mounted.- script
A scriptlet which will be executed before the network-interfaces are enabled
and the directories are mounted.
- /etc/vservers/vserver-name/ulimits
A directory with ulimits. Possible resources are cpu, data, fsize, locks,
memlock, nofile, nproc, rss and/or stack.- resource
A file which contains the hard- and soft-limit of the given resource in the
first line. The special keyword 'inf' is recognized. - resource.hard
A file which contains the hard- of the given resource in the first line. The
special keyword 'inf' is recognized. - resource.soft
A file which contains the soft- of the given resource in the first line. The
special keyword 'inf' is recognized.
- /etc/vservers/vserver-name/uts
- context
The context-name of the vserver - domainname
The NIS domainname of the vserver - machine
The machine-type of the vserver - nodename
The node-/hostname of the vserver - release
The OS-release of the vserver - sysname
The sysname of the vserver - version
The OS-version of the vserver