This cookbook installs OpenVZ on the host machine with OpenVZ packages.
Additionally, it adds a watchdog script, which alerts root
, if VEs exceed their limits.
This cookbook ships with two Ohai plugins:
openvz-ipaddress
: This detects theipaddress
andip6address
correctly inside OpenVZ containers. As these aren't bound to a usualethX
or so, vanilla Ohai does not recognize the addresses.openvz-hostdetection
: Stores the node, on which the container is running innode['virtualization']['host]
. It therefore uses theopenvz-host
hint, which is placed from the outside into the containers file system.