14 lines
380 B
YAML
14 lines
380 B
YAML
#cloud-config
|
|
|
|
packages: *core-packages
|
|
|
|
runcmd:
|
|
# Replace SELinux by AppArmor in kernel parameters
|
|
- sed -i 's/security=selinux selinux=1/apparmor=1 apparmor.debug=1/g' /etc/default/grub
|
|
|
|
# Regenerate grub.cfg
|
|
- grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
|
|
write_files:
|
|
- *shared-directory # Setup shared directory
|
|
- *systemd-netword # Network configuration for server
|