68e382ba2c
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
8 lines
354 B
YAML
8 lines
354 B
YAML
---
|
|
features:
|
|
- The container creation process now allows ``overlayfs`` to be set as the
|
|
``lxc_container_backing_store``. When this is set it will use a snapshot
|
|
of the base container to build the containers. The ``overlayfs``
|
|
backing store is not recommended to be used for production unless the host
|
|
kernel version is 3.18 or higher.
|