fix grub2-pc package name and comment out sed

This commit is contained in:
Louis Abel 2022-09-14 23:34:37 -07:00
parent ebf7a38c6b
commit 0a16a1b5cf
Signed by: label
GPG Key ID: B37E62D143879B36
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ passwd -l root
# Attempting to force legacy BIOS boot if we boot from UEFI
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub-pc -y
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
@ -202,7 +202,7 @@ rm -f /var/lib/systemd/random-seed
cat /dev/null > /etc/machine-id
# reorder console entries
sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg
#sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg