mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
db155c2c6b
commit
3cbe6d664f
1 changed files with 17 additions and 17 deletions
|
|
@ -188,8 +188,6 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
|||
echo "Creating GRUB config file."
|
||||
grub-mkconfig -o /boot/grub/grub.cfg &>/dev/null
|
||||
|
||||
EOF
|
||||
|
||||
#Security kernel settings
|
||||
sudo bash -c 'cat > /mnt/etc/sysctl.d/51-dmesg-restrict.conf' <<-'EOF'
|
||||
kernel.dmesg_restrict = 1
|
||||
|
|
@ -210,6 +208,8 @@ net.core.bpf_jit_harden = 2
|
|||
kernel.yama.ptrace_scope = 3
|
||||
EOF
|
||||
|
||||
EOF
|
||||
|
||||
# Setting root password.
|
||||
echo "Setting root password."
|
||||
arch-chroot /mnt /bin/passwd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue