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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user