0c16334a2c
This change updates the lxc-container-create role to build lxc containers using the download template. The build supports ubuntu 14.04/16.04 and RedHat/CentOS 7 using the multi-distro framework. This change is incorporating updates built into the lxc_hosts role. Once merged this should unblock all work geared toward multi-distro support and testing. The testing structure has been updated to match what is being done in other roles. A new file was created "manual-tests.rc" which assists in manual testing by exporting the needed environment variables to run the role tests without requiring everything to run through tox which has undesirable side-effects when running tests that span multiple roles. Change-Id: Iee304dd026e0865e0444259d2132122233d90f5f Depends-On: Ie13be2322d28178760481c59805101d6aeef4f36 Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk> Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
30 lines
1.5 KiB
YAML
30 lines
1.5 KiB
YAML
---
|
|
features:
|
|
- The ``lxc_container_create`` role will now build a container
|
|
based on the distro of the host OS.
|
|
- The ``lxc_container_create`` role now supports Ubuntu 14.04,
|
|
16.04, and RHEL/CentOS 7
|
|
upgrade:
|
|
- The ``lxc_container_create`` role no longer uses the distro specific lxc
|
|
container create template.
|
|
- |
|
|
The following variable changes have been made in the ``lxc_host`` role:
|
|
|
|
* **lxc_container_template**: Removed because the template option is now
|
|
contained within the operating system specific variable file loaded at
|
|
runtime.
|
|
* **lxc_container_template_options**: This option was renamed to
|
|
*lxc_container_download_template_options*. The deprecation filter was not
|
|
used because the values provided from this option have been
|
|
fundamentally changed and old overrides will cause problems.
|
|
* **lxc_container_release**: Removed because image is now tied with the host
|
|
operating system.
|
|
* **lxc_container_user_name**: Removed because the default users are no longer
|
|
created when the cached image is created.
|
|
* **lxc_container_user_password**: Removed because the default users are no
|
|
longer created when the cached image is created.
|
|
* **lxc_container_template_main_apt_repo**: Removed because this option is now
|
|
being set within the cache creation process and is no longer needed here.
|
|
* **lxc_container_template_security_apt_repo**: Removed because this option is
|
|
now being set within the cache creation process and is no longer needed here.
|