ctid.conf(5)

πŸ“¦ version 4.9.4, in ubuntu jammy

🌸 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. OnBoot is not ONBOOT, 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 --name option.
  • DESCRIPTION="string" β€” corresponds to the --description option.
  • ONBOOT="yes|no" β€” specifies whether this container will be started during system boot. Corresponds to the --onboot option.
  • BOOTORDER="number" β€” specifies the CT boot order priority. Corresponds to the --bootorder option.
  • OSTEMPLATE="tmpl_name" β€” corresponds to the --ostemplate option.
  • VE_ROOT="directory" β€” corresponds to the --root option.
  • VE_PRIVATE="directory" β€” corresponds to the --private option.
  • MOUNT_OPTS="option[,option...]" β€” corresponds to --mount_opts option.
  • DISABLED="yes|no" β€” corresponds to the --disabled option.
  • ORIGIN_SAMPLE="name" β€” name of container sample configuration which the container is based on.
  • STOP_TIMEOUT="number" β€” corresponds to the --stop-timeout option.

πŸ’– 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 --numproc option.
  • NUMFILE β€” corresponds to the --numfile option.
  • NUMFLOCK β€” corresponds to the --numflock option.
  • NUMPTY β€” corresponds to the --numpty option.
  • NUMSIGINFO β€” corresponds to the --numsiginfo option.
  • NUMTCPSOCK β€” corresponds to the --numtcpsock option.
  • NUMOTHERSOCK β€” corresponds to the --numothersock option.
  • PRIVVMPAGES β€” corresponds to the --privvmpages option.
  • VMMGUARPAGES β€” corresponds to the --vmguarpages option.
  • OOMGUARPAGES β€” corresponds to the --oomguarpages option.
  • LOCKEDPAGES β€” corresponds to the --lockedpages option.
  • SHMPAGES β€” corresponds to the --shmpages option.
  • KMEMSIZE β€” corresponds to the --kmemsize option.
  • TCPSNDBUF β€” corresponds to the --tcpsndbuf option.
  • TCPRCVBUF β€” corresponds to the --tcprcvbuf option.
  • OTHERSOCKBUF β€” corresponds to the --othersockbuf option.
  • DGRAMRCVBUF β€” corresponds to the --dgramrcvbuf option.
  • DCACHESIZE β€” corresponds to the --dcachesize option.
  • NUMIPTENT β€” corresponds to the --numiptent option.
  • PHYSPAGES β€” corresponds to the --physpages or --ram option.
  • SWAPPAGES β€” corresponds to the --swappages or --swap option.
  • VM_OVERCOMMIT β€” corresponds to the --vm_overcommit option.
  • CPUUNITS β€” corresponds to the --cpuunits option.
  • DISK_QUOTA="yes|no" β€” corresponds to the --diskquota option. If this is set to no, disk quota is not set up for this CT. So like, if you wanted quota and you set this to no… you didn't. That's on you.
  • DISKSPACE="softlimit[:hardlimit]" β€” corresponds to the --diskspace option.
  • DISKINODES="softlimit[:hardlimit]" β€” corresponds to the --diskinodes option.
  • QUOTATIME="seconds" β€” corresponds to the --quotatime option.
  • QUOTAUGIDLIMIT="num" β€” corresponds to the --quotaugidlimit option.
  • CAPABILITY="capname:on|off [...]" β€” corresponds to the --capability option.

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 --ipadd option.
  • HOSTNAME="name" β€” corresponds to the --hostname option.
  • NAMESERVER="ip [ip ...]" β€” corresponds to the --nameserver option. Several name server addresses are divided by spaces. If set to inherit, values from host system's /etc/resolv.conf are used.
  • SEARCHDOMAIN="domain [domain ...]" β€” corresponds to the --searchdomain option. Several search domains are divided by spaces. If set to inherit, values from host system's /etc/resolv.conf are 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