Convert the AIO from using overlayfs to machinectl

The LXC container create role now supports using machinectl for
container storaeg. This change updates the default AIO bootstrap
role to leverage the new capabilities.

Change-Id: Icb1745fbd5b7d0c866b5dce1def1b13312da3612
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2017-10-06 11:11:27 -05:00 committed by Kevin Carter (cloudnull)
parent 316644c065
commit 21463a3fcb

View File

@ -177,9 +177,13 @@ cache_timeout: {{ cache_timeout }}
repo_build_git_cache: {{ repo_build_git_cache }}
{% endif %}
# The container backing store is set to 'overlayfs' to speed up the
# AIO build time.
lxc_container_backing_store: "{{ (ansible_kernel | version_compare('3.18.0-0-generic', '<')) | ternary('dir', 'overlayfs') }}"
# The container backing store is set to 'machinectl' to speed up the
# AIO build time. Options are: [machinectl, overlayfs, btrfs, zfs, dir, lvm]
lxc_container_backing_store: "machinectl"
# Allow the container store sufficient space to build everything we need.
# Size is in GB:
lxc_host_machine_volume_size: 1024
## Enable LBaaSv2 in the AIO
neutron_plugin_base: