3.2.11.1. General Options

The table below lists the general options you can use with prlctl set.

NameDescription

--onboot <yes|no>

Set to yes to have OpenVZ automatically start this container on next system startup.

--offline_management <yes|no>

Enabling/disabling the direct managing of the container through a common Internet browser by means of Power Panels and the Plesk control panel (as defined by the OFFLINE_SERVICE parameter in the global or container configuration file).

--offline_service <service_name>

Defines whether the container can be managed by means of Power Panel or Plesk or both. Valid only if the OFFLINE_MANAGEMENT parameter is set to yes. The names of the available services can be taken from the file names (excluding the .conf extension) in the /etc/vzredirect.d directory on the server.

--userpasswd <user>:<password>

This setting creates a new user with the specified password in the container, or changes the password of an already existing user. This command modifies not the container configuration file, but the /etc/passwd and /etc/shadow files inside the container. In case the container root is not mounted, it is automatically mounted to apply the changes and then unmounted.

--crypted

Used with --userpasswd. Indicates that the specified password is already a hash.

--features {<name>:on|off}

Enables/disables the support for the following functionality inside the container:

  • nfs: mounting NFS shares
  • ipip: creating IPIP tunnels
  • sit: using the Simple Internet Transition (SIT) mechanisms
  • ipgre: creating IP-GRE tunnels
  • bridge: using bridges to connect virtual Ethernet devices
  • nfsd: running an NFS-kernel-space server

--name <new_name>

Changes the container name. You can change the names of both stopped and running containers.

--description <desc>

Custom container description. Descriptions must be alphanumeric. Descriptions with white spaces must be enclosed in quotation marks.

--vnc-mode <auto|manual|off>

Enables or disables access to the container via the VNC protocol.

--vnc-port <port>

Sets the VNC port number for the container. Used with --vnc-mode manual.

--vnc-passwd <passwd> | --vnc-nopasswd

Sets the VNC password for the container or specifies that no password is needed for VNC connections. Either of these options is mandatory for any VNC setup.

--autocompact <on|off>

Enables or disables compaction for all disks in the container.

Note

Note: For details on how to enable or disable compaction for a specific disk in the container, see Section 3.2.11.4, “Hard Disk Drive Management Options”.