chef-lxc icon indicating copy to clipboard operation
chef-lxc copied to clipboard

cookbook to manage and create linux containers with chef

= DESCRIPTION: Creates RootFS for virtual machines used by LXC (Linux Containers) and provisions them until they are registered at the same chef server.

= REQUIREMENTS:

  • debootstrap
  • ...

= WARNING:

You must make Client of the Host an Admin in the Chef WebUI, else it cannot register the VMs as new clients.

= ATTRIBUTES:

= USAGE:

Create a databag called +virtual_machines+ and create machines with the following attributes:

  • :id
  • :ip4v
    • :cidr (i.e. 192.168.168.100/24)