Added new module to support LXC containers

The new module will allow users to control LXC containers from ansible.
The module was built for use in LXC >= 1.0 or greater and implements most
of what can be done using the various lxc clients with regards to running
containers. This first module is geared only at managing lxc containers.

The module provides:
  build containers
  destroy containers
  archive containers
  info from a single container
  start / stop / restart containers
  run commands within containers
  add/modify lxc config for a container
  supports backends including LVM
This commit is contained in:
Kevin Carter 2014-11-27 10:47:33 -06:00
parent 317654dba5
commit 4446e4642e
2 changed files with 1469 additions and 0 deletions

0
cloud/lxc/__init__.py Normal file
View file

1469
cloud/lxc/lxc-container.py Normal file

File diff suppressed because it is too large Load diff