mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-04-16 14:01:06 +00:00
12 lines
292 B
Bash
12 lines
292 B
Bash
#! /bin/sh
|
|
|
|
set -eu
|
|
|
|
cat <<EOF > /etc/sysctl.d/20-apparmor.conf
|
|
# AppArmor restrictions of unprivileged user namespaces
|
|
|
|
# Disables AppArmor user namespace restrictions on the live ISO.
|
|
kernel.apparmor_restrict_unprivileged_userns = 0
|
|
kernel.apparmor_restrict_unprivileged_unconfined = 1
|
|
EOF
|