[Libosinfo] [osinfo-db PATCH 13/29] ubuntu, jeos: Force the system to boot without splash screen

Fabiano Fidêncio fidencio at redhat.com
Tue Feb 19 15:30:01 UTC 2019


Unfortunately, if we don't manually force the system to boot without
splash screen, the splash will load and the user would have to manually
switch to VT[0-6].

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in
index ad15ad5..1e61754 100644
--- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in
+++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in
@@ -95,6 +95,10 @@ ubiquity ubiquity/reboot boolean true
 
 d-i finish-install/reboot_in_progress note
 
+d-i preseed/late_command string \
+    in-target sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=\).*/\1\"\"/g' /etc/default/grub ; \
+    in-target bash -c 'update-grub2' ;
+
 <xsl:if test="os/version = 13.04">
 ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/& [ "$prompt" ] || return 0/' /etc/init.d/casper
 </xsl:if>
-- 
2.20.1




More information about the Libosinfo mailing list