Fix EOF string

This commit is contained in:
Thomas Cole 2021-06-30 09:40:00 -04:00
parent e04cd38e6d
commit 49c83c6c1b

View File

@ -96,16 +96,9 @@ sysinstall () {
echoc " - Installing bootloader." $GREEN
arch-chroot /mnt bootctl install
cat <<EOF > /mnt/boot/loader/loader.conf
default arch
EOF
echo "default arch" > /mnt/boot/loader/loader.conf
cat <<EOF > /mnt/boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw
EOF
echo "title Arch Linux linux /vmlinuz-linux initrd /initramfs-linux.img options root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw" > /mnt/boot/loader/entries/arch.conf
echoc " - Updating fstab." $GREEN
genfstab -t PARTUUID /mnt >> /mnt/etc/fstab