openstack-ansible-lxc_conta.../templates
Jesse Pretorius 68e382ba2c Implement overlayfs-backed containers
Since overlayfs is now part of the mainstream kernel, it makes sense
to take advantage of it to speed up the container creation process.

This patch implements the ability to set 'overlayfs' as the backing
store for containers. This is an optional feature which must
explicitly be set by the deployer.

As this only works with Ansible > 2.0 a pre-requisite check has been
implemented to protect against its use with prior versions. The
inventory and key prep playbook have been adjusted to work with
Ansible versions <2 and >2.

The logging for the veth cleanup has been removed as overlayfs
containers do not have access to the /dev/log device. This causes
the container setup to be incomplete.

Depends-On: I20123b83af10c0890f4d5945b9fb230acd664213
Change-Id: If5b11ef6d94fe863a75efd174957ad43b9d2e030
2016-07-17 16:13:59 +00:00
..
autodev.j2 IRR for lxc_container_create 2015-11-03 08:00:45 -06:00
container-interface.ini.j2 Ensure container network type is defaulted to veth 2016-03-30 20:18:39 -07:00
environment.j2 Template /etc/environment rather than use lineinfile 2016-05-03 14:17:49 +00:00
veth-cleanup.sh.j2 Implement overlayfs-backed containers 2016-07-17 16:13:59 +00:00