From 2b44cc09a6d31fad5993118be61d6b21c56f2713 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Tue, 21 Jan 2025 00:18:55 +0100 Subject: [PATCH] tests: switch tumbleweed to boot with security=apparmor The openSUSE project has decided to switch to security=selinux by default. For the purpose of continuing to test AppArmor on the distribution, alter the cloud-init profile to switch to booting with security=apparmor. Signed-off-by: Zygmunt Krynicki --- .image-garden.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.image-garden.mk b/.image-garden.mk index e8286709a..db7e441a3 100644 --- a/.image-garden.mk +++ b/.image-garden.mk @@ -39,6 +39,8 @@ UBUNTU_CLOUD_INIT_USER_DATA_TEMPLATE=$(DEBIAN_CLOUD_INIT_USER_DATA_TEMPLATE) # This is the cloud-init user-data profile for openSUSE Tumbleweed. define OPENSUSE_tumbleweed_CLOUD_INIT_USER_DATA_TEMPLATE $(CLOUD_INIT_USER_DATA_TEMPLATE) +- sed -i -e 's/security=selinux/security=apparmor/g' /etc/default/grub +- update-bootloader packages: - attr - autoconf