From 4a31961ba0ea9b98401151a59539bec184b3d216 Mon Sep 17 00:00:00 2001 From: "William Hirigoyen (Evolix)" Date: Tue, 15 Mar 2022 10:04:13 +0100 Subject: [PATCH] =?UTF-8?q?Ajoute=20le=20d=C3=A9confinement=20d'AppArmor?= =?UTF-8?q?=20dans=20la=20config=20par=20d=C3=A9faut=20des=20conteneurs=20?= =?UTF-8?q?LXC=20pour=20les=20version=20de=20Debian=20>=3D=209.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lxc/templates/default.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lxc/templates/default.conf b/lxc/templates/default.conf index c4b38d42..a4f75d38 100644 --- a/lxc/templates/default.conf +++ b/lxc/templates/default.conf @@ -36,4 +36,6 @@ lxc.start.auto = 1 {% if ansible_distribution_major_version is version('9', '>') %} # Set LXC container unconfined in AppArmor lxc.apparmor.profile = unconfined +{% else %} +lxc.aa_profile = unconfined {% endif %}