Update install.sh
This commit is contained in:
parent
41e28e82d7
commit
d2b8265186
|
@ -267,7 +267,7 @@ echo
|
|||
# Setting locale.
|
||||
echo "Setting and generating locale."
|
||||
#localegen=$(cat /mnt/etc/locale.gen)
|
||||
cat <<EOF >/mnt/etc/locale.gen
|
||||
cat <<EOF > /mnt/etc/locale.gen
|
||||
en_US.UTF-8 UTF-8
|
||||
#de_DE.UTF-8 UTF-8
|
||||
EOF
|
||||
|
@ -338,7 +338,7 @@ linux /vmlinuz-linux-zen
|
|||
#initrd /amd-ucode.img
|
||||
#initrd /intel-ucode.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 lang=de locale=de_DE.UTF-8
|
||||
options init=/usr/lib/systemd/systemd
|
||||
|
@ -367,7 +367,7 @@ echo "Adding user."
|
|||
arch-chroot /mnt useradd -m $user &&
|
||||
echo -en "$pwur\n$pwur" | arch-chroot /mnt passwd $user &&
|
||||
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
|
||||
|
||||
|
@ -385,7 +385,7 @@ echo
|
|||
# Unmounting and rebooting.
|
||||
echo "Unmounting system."
|
||||
umount /mnt/boot &&
|
||||
umount /mnt/home &&#
|
||||
umount /mnt/home &&
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
|
|
Loading…
Reference in New Issue