Update install.sh

This commit is contained in:
proledatarian 2022-02-16 14:29:20 +00:00
parent 41e28e82d7
commit d2b8265186
1 changed files with 4 additions and 4 deletions

View File

@ -267,7 +267,7 @@ echo
# Setting locale. # Setting locale.
echo "Setting and generating locale." echo "Setting and generating locale."
#localegen=$(cat /mnt/etc/locale.gen) #localegen=$(cat /mnt/etc/locale.gen)
cat <<EOF >/mnt/etc/locale.gen cat <<EOF > /mnt/etc/locale.gen
en_US.UTF-8 UTF-8 en_US.UTF-8 UTF-8
#de_DE.UTF-8 UTF-8 #de_DE.UTF-8 UTF-8
EOF EOF
@ -338,7 +338,7 @@ linux /vmlinuz-linux-zen
#initrd /amd-ucode.img #initrd /amd-ucode.img
#initrd /intel-ucode.img #initrd /intel-ucode.img
initrd /initramfs-linux-zen.img initrd /initramfs-linux-zen.img
options cryptdevice=/dev/$main:lvm:allow-discards options cryptdevice=/dev/$main:lvm
options root=/dev/mapper/main-root rw options root=/dev/mapper/main-root rw
options lang=de locale=de_DE.UTF-8 options lang=de locale=de_DE.UTF-8
options init=/usr/lib/systemd/systemd options init=/usr/lib/systemd/systemd
@ -367,7 +367,7 @@ echo "Adding user."
arch-chroot /mnt useradd -m $user && arch-chroot /mnt useradd -m $user &&
echo -en "$pwur\n$pwur" | arch-chroot /mnt passwd $user && echo -en "$pwur\n$pwur" | arch-chroot /mnt passwd $user &&
arch-chroot /mnt gpasswd -a $user wheel && arch-chroot /mnt gpasswd -a $user wheel &&
sed -i '82s/.*/%wheel ALL=(ALL) ALL/' /mnt/etc/sudoers sed -i '82s/.*/%wheel ALL=(ALL) ALL/' /mnt/etc/sudoers &&
echo "Done." echo "Done."
echo echo
@ -385,7 +385,7 @@ echo
# Unmounting and rebooting. # Unmounting and rebooting.
echo "Unmounting system." echo "Unmounting system."
umount /mnt/boot && umount /mnt/boot &&
umount /mnt/home &&# umount /mnt/home &&
echo "Done." echo "Done."
echo echo