From af6d9c2e61a3623cdd9313a6abcc04cbaf24e71c Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Fri, 23 Apr 2021 21:43:21 +0200 Subject: [PATCH] Update install.sh --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 7cdeddf..07b83bc 100644 --- a/install.sh +++ b/install.sh @@ -210,6 +210,7 @@ cat << EOF >> /mnt/etc/sysctl.d/10-security.conf fs.protected_symlinks = 1 net.core.bpf_jit_harden = 2 kernel.yama.ptrace_scope = 3 + kernel.unprivileged_userns_clone = 1 EOF # Configuring the system. @@ -243,13 +244,13 @@ arch-chroot /mnt /bin/bash -e </dev/null - sed -i 's#"rootflags=subvol=${rootsubvol}"##g' /etc/grub.d/10_linux - sed -i 's#"rootflags=subvol=${rootsubvol}"##g' /etc/grub.d/20_linux_xen - #pacman -S --noconfirm snap-pac + sed -i 's#"rootflags=subvol=${rootsubvol} ##g' /etc/grub.d/10_linux + sed -i 's#"rootflags=subvol=${rootsubvol} ##g' /etc/grub.d/20_linux_xen # Creating grub config file. echo "Creating GRUB config file." grub-mkconfig -o /boot/grub/grub.cfg &>/dev/null + pacman -S --noconfirm snap-pac EOF # Setting root password.