pct.conf - Proxmox VE Container (LXC) configuration files.
The /etc/pve/lxc/VMID
.conf files stores container configuration, where VMID
is the numeric ID of the given VM. Note that VMID <= 100
are reserved for internal purposes.
Configuration files use a simple colon separated key/value format. Each line has the following format:
OPTION: value
Blank lines in the file are ignored, and lines starting with a #
character are treated as comments and are also ignored.
One can use the pct command to generate and modify those files.
OS architecture type. Default value is 'amd64'.
Limit of CPU usage. Note if the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit. Default value is '0'.
CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.
NOTE: You can disable fair-scheduler configuration by setting this to 0.
Default value is '1024'.
Container description. Only used on the configuration web interface.
Set a host name for the container.
Lock/unlock the VM.
Amount of RAM for the VM in MB. Default value is '512'.
Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain or nameserver.
Specifies network interfaces for the container.
The string should have the follow format:
-net<[0-9]> bridge=<vmbr<Nummber>>[,hwaddr=<MAC>] [,mtu=<Number>][,name=<String>][,ip=<IPv4Format/CIDR>] ,ip6=<IPv6Format/CIDR>][,gw=<GatwayIPv4>] ,gw6=<GatwayIPv6>][,firewall=<[1|0]>][,tag=<VlanNo>]
Specifies whether a VM will be started during system bootup. Default value is '0'.
OS type. Corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf.
Use volume as container root. You can use special '<storage>:<size>' syntax for create/restore, where size specifies the disk size in GB (for example 'local:5.5' to create 5.5GB image on storage 'local').
Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain or nameserver.
Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
Amount of SWAP for the VM in MB. Default value is '512'.
Specify the number of tty available to the container Default value is '4'.
Copyright (C) 2007-2015 Proxmox Server Solutions GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.