From: Frank Brehm Date: Wed, 24 Oct 2018 15:44:35 +0000 (+0200) Subject: Removing rhgb from Grub command line X-Git-Tag: 0.3.2~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=8d05198e717eab7b00c1c9b98f829f54402b4193;p=pixelpark%2Fcreate-vmware-tpl.git Removing rhgb from Grub command line --- 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