From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search

vzctl is a tool to control OpenVZ containers.

Warning.svg Warning: this is an old version of vzctl. For the latest version, see Download/vzctl/4.11.1.



New features

  • vzctl create: add ability to auto-download template cache
  • vzctl set: introduce --ram and --swap options
  • vzcfgvalidate: add support for VSwap configs (#1969)


  • vzctl umount: try to umount all submounts first, do not use detached umount
  • vzcfgvalidate: fix exit code in case validation failed (should be 2)
  • vzctl set --userpasswd: fix changing pass on a stopped CT for new distros like suse-12.1
  • vzctl: skip setting meminfo on a vswap-enabled CT
  • vzctl set --ipadd: fix default IPv6 route for Debian (#2023)
  • vzlist: fixed messages wrt stdout/stderr
  • etc/dists/scripts/ fix removing too much IPv6 addresses
  • etc/dists/scripts/ try harder to remove all IPs


  • vzctl: in VSwap mode, make most of UBC parameters optional
  • etc/conf/*: simplify VSwap configs by removing optional parameters
  • vzmigrate: use --sparse on the first rsync (#2002)
  • vzlist: add cpus field (#2059)
  • vzctl enter/exec: log these actions (#1266)
  • vzcfgvalidate: add -v yes|no option
  • vzctl set --ipdel all: do not run * script
  • etc/dists/scripts/* add case for IPDELALL
  • vzctl set --save: enhance the "config saved" message
  • vzctl set: tailor "no save" warning to running/stopped states
  • vzsplit: remove hacks for KMEMSIZE, DCACHESIZE, LOCKEDPAGES
  • vzctl start: add SETPCAP and AUDIT_WRITE capabilities to default set
  • vzctl create: set proper file caps for Fedora >= 15
  • etc/conf: add VSwap configs for 2GB and 4GB RAM
  • etc/conf/ve-vswap-1g.conf-sample: added as an alias to 1024m
  • Various code cleanups and refactoring


  • man/vzctl.8: better info wrt VSwap
  • Describe the new options
  • Small formatting fixes

For the complete list of changes in this release, see git changelog for vzctl-3.0.30.


OpenVZ project would like to thank the following people who contributed patches and/or provided bug reports for this vzctl release (in no particular order):

  • John O. Stevens
  • Scott Dowdle
  • Toke Høiland-Jørgensen
  • Stefan Priebe
  • FabioDB
  • Todd Mueller



x86 (i686, IA32)[edit]

File Date Size
vzctl-3.0.30-1.i386.rpm 2012-01-11 15:46:28 163 Kb
vzctl-lib-3.0.30-1.i386.rpm 2012-01-11 15:46:28 189 Kb

x86_64 (AMD64, EM64T)[edit]

File Date Size
vzctl-3.0.30-1.x86_64.rpm 2012-01-11 15:46:28 166 Kb
vzctl-lib-3.0.30-1.x86_64.rpm 2012-01-11 15:46:28 211 Kb


x86 (i686, IA32)[edit]

File Date Size
vzctl-3.0.30-1.i386.tar.gz 2012-01-11 15:46:27 150 Kb
vzctl-3.0.30-1.i386.tar.gz.asc 2012-01-11 15:46:30 189 b 
vzctl-lib-3.0.30-1.i386.tar.gz 2012-01-11 15:46:27 190 Kb
vzctl-lib-3.0.30-1.i386.tar.gz.asc 2012-01-11 15:46:30 189 b 

x86_64 (AMD64, EM64T)[edit]

File Date Size
vzctl-3.0.30-1.x86_64.tar.gz 2012-01-11 15:46:27 160 Kb
vzctl-3.0.30-1.x86_64.tar.gz.asc 2012-01-11 15:46:30 189 b 
vzctl-lib-3.0.30-1.x86_64.tar.gz 2012-01-11 15:46:28 210 Kb
vzctl-lib-3.0.30-1.x86_64.tar.gz.asc 2012-01-11 15:46:30 189 b 


SPARC support for RPM-based distributions is available in source form only. Please download the sources and compile manually.


File Date Size
vzctl-3.0.30-1.src.rpm 2012-01-11 15:46:28 420 Kb
vzctl-3.0.30.tar.bz2 2012-01-11 15:46:28 415 Kb
vzctl-3.0.30.tar.bz2.asc 2012-01-11 15:46:30 189 b 
vzctl.spec 2012-01-11 15:46:28 8 Kb


For other vzctl releases, see download/vzctl/Archives.

For other tools, see download/utils.

vzctl • ploop • vzquota • vzstats
Versions of vzctl