fix grub2-pc package name and comment out sed

r9
Louis Abel 3 weeks ago
parent ebf7a38c6b
commit 0a16a1b5cf
Signed by: label
GPG Key ID: B37E62D143879B36
  1. 4
      Rocky-9-GenericCloud.ks

@ -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
fi
@ -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
true

Loading…
Cancel
Save