Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


kvm (5) Versions 0.3.1

Installs/Configures/tuning kvm

cookbook 'kvm', '= 0.3.1', :supermarket
cookbook 'kvm', '= 0.3.1'
knife supermarket install kvm
knife supermarket download kvm
Quality -%



Install KVM Hypervisor on Ubuntu, Debian, CentOS or RHEL



  • Ubuntu (tested)
  • Debian
  • CentOS (tested host)
  • RHEL



Default recipe

Detect the server role from OHAI : host or guest. And install minimum packages.
For security, the default recipe doesn't install a kvm server, you need to install it with kvm::host

host recipe

Install minimum packages and configuration to do kvm virtualization.

guest recipe

Install minimum packages and configuration for a kvm guest.

host-tuning recipe

Install packages and configuration to enhance your kvm host.

  • Set vm.swappiness = 0 if the kernel < 3.5 and cpu has ept flag.
  • Load vhost_net module on Ubuntu/debian to speed up networking.
  • Avoid cpu frequency change to prevent potential clock drifting.
  • Enable transparent huge pages

guest-tuning recipe

Install packages and configuration to enhance your kvm guest.

  • Change the block IO scheduler according to the attribute default["kvm"]["guest"]["tuning"]["io_scheduler"]. By the default the noop scheduler is used.

Dependent cookbooks

ntp >= 1.2.0
sysctl >= 0.0.0
modules >= 0.0.0
sysfs >= 0.0.0
cpu >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found