Do not use distro templates by default

With spawning LXC from customly built images, we no longer
need to rely on configuration templates.
Moreover, such templates are not available for EL9 from EPEL.

We also should respect architecture of the LXC hosts in containers
base config.

Change-Id: I09f04668c1164bde78bbb07615f5c7689caefada
This commit is contained in:
Dmitriy Rabotyagov
2025-05-28 18:43:18 +02:00
parent f059f97ce2
commit 73c9581299
2 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
lxc.include = LXC_TEMPLATE_CONFIG/{{ ansible_facts['distribution'] | lower }}.common.conf
lxc.arch = x86_64
lxc.include = LXC_TEMPLATE_CONFIG/common.conf
lxc.arch = {{ ansible_facts['architecture'] }}

View File

@@ -1,2 +1,2 @@
lxc.include = LXC_TEMPLATE_CONFIG/common.conf
lxc.arch = x86_64
lxc.arch = {{ ansible_facts['architecture'] }}