openstack-ansible-lxc_hosts/templates
Jonathan Rosser 791b9e813e Optionally build container image as a local chroot
This change uses dnf to build the container image for Centos-8
using dnf locally rather than rely on an external image that is
downloaded and unpacked.

The existing image prestage commands are made conditional, and
an operating system specific command can be provided via role
variables to build a chroot in /var/lib/machines.

During the transition from Centos-8 to Centos-8-Stream, the
vars files are separated, with vars/redhat.yml covering Stream,
and vars/centos-8.3.yml covering legcay Centos-8.

In addition, the systemd-logind service is masked from the base
image. This is masked in the previously downloaded container base
image, so we ensure that the same is done for locally built chroots.

Depends-On: I31880ca995735b737d33532eaa4c29be02523117
Depends-On: I74f02669b013b8580d3469a8ffe214d88cd0f525
Change-Id: I1ddfe36259610b25e86b69d64d1d7f32a56c0e4d
2021-04-20 08:56:20 +00:00
..
meta-data Use local container meta-data 2018-03-19 15:07:26 +00:00
prep-scripts Optionally build container image as a local chroot 2021-04-20 08:56:20 +00:00
aria2c-download-helper.sh.j2 Use the 'real' name for the LXC image 2019-04-25 07:12:30 -06:00
irqbalance.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-dnsmasq-systemd-init.j2 Use pkill for lxc-dnsmasq systemd unit file 2019-04-11 11:04:51 -05:00
lxc-image-fetch-url.py.j2 Fix linter errors 2020-10-02 10:40:16 +01: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-redhat-postdown.cfg.j2 Remove references to unsupported operating systems 2021-03-18 17:01:48 +00:00
lxc-net.default.j2 Increase LXC container default shutdown delay 2019-01-16 12:42:36 -07:00
lxc-networkd-bridge.netdev.j2 add gentoo support 2019-02-22 19:43:59 -06:00
lxc-networkd-bridge.network.j2 add gentoo support 2019-02-22 19:43:59 -06:00
lxc-openstack.apparmor.j2 Allow containers to remount volumes when needed 2019-02-13 14:56:52 -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 Remove the checksum fills 2018-08-14 20:44:23 -05:00
lxc.default.j2 Increase LXC container default shutdown delay 2019-01-16 12:42:36 -07:00
sudoers.j2 Remove requiretty for sudo on centos base image. 2016-09-15 20:18:56 +00:00
systemd-proxy-unit.conf.j2 Download LXC image with async via aria2 2017-08-15 12:34:26 +00:00