Optional
archOS architecture type.
Optional
cmodeConsole mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).
Optional
consoleAttach a console device (/dev/console) to the container.
Optional
coresThe number of cores assigned to the container. A container can use all available cores by default.
Optional
cpulimitLimit of CPU usage. NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.
Optional
cpuunitsCPU 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 the weights of all the other running VMs. NOTE: You can disable fair-scheduler configuration by setting this to 0.
Optional
debugTry to be more verbose. For now this only enables debug log-level on start.
Optional
descriptionDescription for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.
SHA1 digest of configuration file. This can be used to prevent concurrent modifications.
Optional
featuresAllow containers access to advanced features.
Optional
hookscriptScript that will be exectued during various steps in the containers lifetime.
Optional
hostnameSet a host name for the container.
Optional
lockLock/unlock the VM.
Optional
lxcArray of lxc low-level configurations ([[key1, value1], [key2, value2] ...]).
Optional
memoryAmount of RAM for the VM in MB.
Optional
mp0Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.
Optional
mp1Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.
Optional
mp2Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.
Optional
mp3Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.
Optional
nameserverSets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
Optional
net0Specifies network interfaces for the container.
Optional
net1Specifies network interfaces for the container.
Optional
net2Specifies network interfaces for the container.
Optional
net3Specifies network interfaces for the container.
Optional
onbootSpecifies whether a VM will be started during system bootup.
Optional
ostypeOS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/
Optional
protectionSets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.
Optional
rootfsUse volume as container root.
Optional
searchdomainSets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
Optional
startupStartup 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.
Optional
swapAmount of SWAP for the VM in MB.
Optional
tagsTags of the Container. This is only meta information.
Optional
templateEnable/disable Template.
Optional
timezoneTime zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab
Optional
ttySpecify the number of tty available to the container
Optional
unprivilegedMakes the container run as unprivileged user. (Should not be modified manually.)
Optional
unused0Reference to unused volumes. This is used internally, and should not be modified manually.
Optional
unused1Reference to unused volumes. This is used internally, and should not be modified manually.
Optional
unused2Reference to unused volumes. This is used internally, and should not be modified manually.
Optional
unused3Reference to unused volumes. This is used internally, and should not be modified manually.
Generated using TypeDoc
Returned by GET /nodes/{node}/lxc/{vmid}/config