2.1.2.1. Miscellaneous Parameters

The table below list the miscellaneous parameters you can set in the configuration file of a container:

NameDescription

VERSION

Specifies the OpenVZ version the configuration file applies to. 2 relates to OpenVZ version 4 and later.

ONBOOT

Specifies whether the container should be started automatically on system startup. OpenVZ automatically starts all containers that have this parameter set to "yes" upon startup.

ALLOWREBOOT

Specifies whether the container may be restarted with the reboot command run from inside. If omitted or set to yes, restarting is allowed.

OSTEMPLATE

The name of the OS template that was used for creating the container. You do not have to change this parameter; prlctl will set it for you upon calling the prlctl create command (or using the defaults from the global configuration file). The . symbol before the OS template name, if specified, indicates that this is an EZ OS template.

TEMPLATES

In a configuration file of an existing container, this parameter lists application templates installed with the prlctl create or vzpkg install commands. In this case you should not modify it, because it is used by template management utilities to track installation history. This parameter is omitted if no templates have been installed to the container.

VE_ROOT

Overrides the VE_ROOT parameter from the global configuration file.

VE_PRIVATE

Overrides the VE_PRIVATE parameter from the global configuration file.

VE_ENVIRONMENT

Overrides the VE_ENVIRONMENT parameter from the global configuration file.

TECHNOLOGIES

Determines a set of technologies which should be provided by the OpenVZ kernel for container operation. Currently, this parameter can contain the information about the following technologies:

  • The system architecture of the container (x86, x86_64, or i64).
  • Whether the container is based on the OS template supporting the Native POSIX Thread Library (NPTL). In this case, the nptl entry is specified as the value of this parameter.
  • Whether the OS EZ template the container is based on requires the sysfs filesystem support (e.g., the OS EZ template for SUSE Linux Enterprise 10).

DISABLED

If set to yes, disables the container making it impossible to start the container once it was stopped. You can start the disabled container after setting the value of this parameter to no.

DESCRIPTION

Sets the description for the container.

Note

Note: You are allowed to use only symbols in the A-z and 0-9 ranges in your descriptions.

NAME

Container name that can be used to refer to said container in commands. Names must be alphanumeric and may contain the characters \, -, _. Names with white spaces must be enclosed in quotation marks.

ORIGIN_SAMPLE

The configuration sample the container was based on when created.

CONFIG_CUSTOMIZED

Indicates whether any of the container configuration parameters have been modified as regards its original configuration sample. If this parameter is omitted, its value is considered as no.

UUID

The container unique identifier. This identifier is used by certain OpenVZ utilities during their execution.