mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
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 <zygmunt.krynicki@canonical.com>
This commit is contained in:
parent
817d5eed1d
commit
2b44cc09a6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue