openstack-ansible-lxc_hosts/templates
Kevin Carter 7e98da3d0f Convert lxc_hosts role to use simple download URL
For a very long time we've been parsing and using the lxc images as
provided by upstream lxc. While these images are functional there are by
no means optimal. In general they're quite a bit larger than they need
to be and contian a lot of little sharp edges that have cut us over
the years. This change removes all of the lxc image cache parsing and
meta-data linking and simply downloads the rootfs a given url. To
maintain compatibility with the legacy images a script has been created
to parse the image index and return the legacy image url.

The result of this change:

* Access to smaller more optimal base image which is well known by the
  corresponding communities.

* Deployers now have the ability to set and forget the download url for an
  internal image instead of having to create a cache infrastructure
  compatible with the lxc download template.

* Any rootfs tarball will work as an image.

* Fewer tasks are executed and less memory is consumed resulting in faster
  deployment times.

* The base cache has a uniform meta-data setup giving all container
  types the same access to config, devices, and templating.

Change-Id: I1775e775bbb7fe86bdffdd8296c2cff5ebc5bac8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-21 23:52:53 +00:00
..
meta-data Use local container meta-data 2018-03-19 15:07:26 +00:00
prep-scripts Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
irqbalance.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-dnsmasq-systemd-init.j2 Add ExecStartPre command to lxc-dnsmasq service unit 2017-11-10 16:13:54 -06:00
lxc-image-fetch-url.py.j2 Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
lxc-net-bridge.cfg.j2 Use handlers to restart services and move dnsmasq to a unit file 2017-11-01 15:19:22 -05:00
lxc-net-redhat-bridge.cfg.j2 Allow NetworkManager to work (if present) 2018-01-08 09:22:51 -06:00
lxc-net-suse-bridge.cfg.j2 Stop trying to set MTU on LXC bridge interface 2017-10-19 15:58:51 -04:00
lxc-net-suse-routes.cfg.j2 Fix container bridge networking on SUSE 2017-05-08 11:24:12 +01:00
lxc-net-suseredhat-postdown.cfg.j2 Fix lxc_net configuration for CentOS/SUSE 2017-09-12 15:39:09 -06:00
lxc-openstack.apparmor.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-openstack.conf.j2 Cleanup the host prep role & remove redundant tasks 2018-02-28 08:34:15 -06:00
lxc-system-manage.j2 templates: lxc-system-manage: Send correct DNS over dhcp 2018-03-05 16:40:22 +00:00
lxc.default.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
sudoers.j2 Remove requiretty for sudo on centos base image. 2016-09-15 20:18:56 +00:00
systemd-machined.service.j2 tasks: Set systemd installation prefix 2017-04-25 14:56:33 +01:00
systemd-proxy-unit.conf.j2 Download LXC image with async via aria2 2017-08-15 12:34:26 +00:00