2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-08 17:32:30 +00:00

Disable GRUB attempt to do direct serial

This commit is contained in:
Jarrod Johnson
2019-04-09 13:05:22 -04:00
parent 619bff27ef
commit ed7063b577

View File

@@ -28,3 +28,6 @@ done
if [ -f "/usr/lib/systemd/system/NetworkManager.service" ]; then
systemctl disable NetworkManager
fi
GRUBOUT=$(find /boot -name grub.cfg)
sed -i -e 's/GRUB.*TERMINAL=.*/GRUB_TERMINAL="console"/' -e 's/GRUB_SERIAL_COMMAND=.*//' /etc/sysconfig/grub
grub2-mkconfig -o $GRUBOUT