]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Removing rhgb from Grub command line
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 24 Oct 2018 15:44:35 +0000 (17:44 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 24 Oct 2018 15:44:35 +0000 (17:44 +0200)
bin/postinst

index 7f5e1cfadcd3bfd404569128dd3dee7cbf35dded..f68a36bd46adafcbda28d835b54e1908a46d8054 100644 (file)
@@ -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