From 8d05198e717eab7b00c1c9b98f829f54402b4193 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 24 Oct 2018 17:44:35 +0200 Subject: [PATCH] Removing rhgb from Grub command line --- bin/postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/postinst b/bin/postinst index 7f5e1cf..f68a36b 100644 --- a/bin/postinst +++ b/bin/postinst @@ -303,6 +303,9 @@ tweak_grub() { echo "Removing quiet from '${grub_cfg}' ..." sed --in-place -e 's/^\(GRUB_CMDLINE_LINUX=.*\)[ ]quiet\(.*\)/\1\2/' "${grub_cfg}" + echo "Removing rhgb (RedHat Graphical Boot) from '${grub_cfg}' ..." + sed --in-place -e 's/^\(GRUB_CMDLINE_LINUX=.*\)[ ]rhgb\(.*\)/\1\2/' "${grub_cfg}" + echo "Recreating /boot/grub2/grub.cfg ..." grub2-mkconfig -o /boot/grub2/grub.cfg -- 2.39.5