ctid.conf(5)
πΈ NAME πΈ
ctid.conf β the configuration file for an OpenVZ container, bestie. This is the little glow-up document that tells your CT how to exist π
β¨ SYNOPSIS β¨
/etc/vz/conf/CTID.conf
π¦ DESCRIPTION π¦
Okay so. This is the configuration file for a container, and it lives at /etc/vz/conf/CTID.conf, where CTID is the numeric ID of the container in question. Like, your container's whole personality is in there. No cap.
The file is made of lines shaped like this:
PARAMETER="value"
Some rules, and I need you to actually read these, fr fr:
- All parameter names and values are case-sensitive.
OnBootis notONBOOT, and she will not be forgiving about it. - Quotes around a value are required if the value contains spaces. Otherwise they're optional.
- Extra spaces are not allowed. Not even one little sneaky one. She's watching.
- All unrecognized lines will be ignored. Just fully ghosted. π
Most of these parameters are explained over in vzctl(8), so here we're just giving you the matching vzctl set option names. iykyk.
π Miscellaneous parameters π
NAME="vename"β corresponds to the--nameoption.DESCRIPTION="string"β corresponds to the--descriptionoption.ONBOOT="yes|no"β specifies whether this container will be started during system boot. Corresponds to the--onbootoption.BOOTORDER="number"β specifies the CT boot order priority. Corresponds to the--bootorderoption.OSTEMPLATE="tmpl_name"β corresponds to the--ostemplateoption.VE_ROOT="directory"β corresponds to the--rootoption.VE_PRIVATE="directory"β corresponds to the--privateoption.MOUNT_OPTS="option[,option...]"β corresponds to--mount_optsoption.DISABLED="yes|no"β corresponds to the--disabledoption.ORIGIN_SAMPLE="name"β name of container sample configuration which the container is based on.STOP_TIMEOUT="number"β corresponds to the--stop-timeoutoption.
π Resource management parameters π
This is the long section, bestie. Buckle in. Every single one of these is just vibing here to tell you which vzctl set option it maps to π«Ά
NUMPROCβ corresponds to the--numprocoption.NUMFILEβ corresponds to the--numfileoption.NUMFLOCKβ corresponds to the--numflockoption.NUMPTYβ corresponds to the--numptyoption.NUMSIGINFOβ corresponds to the--numsiginfooption.NUMTCPSOCKβ corresponds to the--numtcpsockoption.NUMOTHERSOCKβ corresponds to the--numothersockoption.PRIVVMPAGESβ corresponds to the--privvmpagesoption.VMMGUARPAGESβ corresponds to the--vmguarpagesoption.OOMGUARPAGESβ corresponds to the--oomguarpagesoption.LOCKEDPAGESβ corresponds to the--lockedpagesoption.SHMPAGESβ corresponds to the--shmpagesoption.KMEMSIZEβ corresponds to the--kmemsizeoption.TCPSNDBUFβ corresponds to the--tcpsndbufoption.TCPRCVBUFβ corresponds to the--tcprcvbufoption.OTHERSOCKBUFβ corresponds to the--othersockbufoption.DGRAMRCVBUFβ corresponds to the--dgramrcvbufoption.DCACHESIZEβ corresponds to the--dcachesizeoption.NUMIPTENTβ corresponds to the--numiptentoption.PHYSPAGESβ corresponds to the--physpagesor--ramoption.SWAPPAGESβ corresponds to the--swappagesor--swapoption.VM_OVERCOMMITβ corresponds to the--vm_overcommitoption.CPUUNITSβ corresponds to the--cpuunitsoption.DISK_QUOTA="yes|no"β corresponds to the--diskquotaoption. If this is set tono, disk quota is not set up for this CT. So like, if you wanted quota and you set this tonoβ¦ you didn't. That's on you.DISKSPACE="softlimit[:hardlimit]"β corresponds to the--diskspaceoption.DISKINODES="softlimit[:hardlimit]"β corresponds to the--diskinodesoption.QUOTATIME="seconds"β corresponds to the--quotatimeoption.QUOTAUGIDLIMIT="num"β corresponds to the--quotaugidlimitoption.CAPABILITY="capname:on|off [...]"β corresponds to the--capabilityoption.
π Network related parameters π
The social section. Networking is literally her main character era.
IP_ADDRESS="address [address ...]"β specifies the address the container will be assigned. Several addresses are divided by spaces. Corresponds to the--ipaddoption.HOSTNAME="name"β corresponds to the--hostnameoption.NAMESERVER="ip [ip ...]"β corresponds to the--nameserveroption. Several name server addresses are divided by spaces. If set toinherit, values from host system's/etc/resolv.confare used.SEARCHDOMAIN="domain [domain ...]"β corresponds to the--searchdomainoption. Several search domains are divided by spaces. If set toinherit, values from host system's/etc/resolv.confare used.
π SEE ALSO π
π LICENSE π
Copyright (C) 2001-2010, Parallels, Inc. Licensed under GNU GPL.
okay that's the whole page, you ate that π β¨
This was the OpenVZ manual for ctid.conf, dated 1 Oct 2013. Go forth and configure responsibly, bestie π¦π
π¦ where this page comes from
- ubuntu jammy: vzctl 4.9.4-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms