[PATCH 3/3] add 'troubleshooting' submenu with 'basic graphics mode' to UEFI boot menu

Adam Williamson awilliam at redhat.com
Fri Nov 15 17:54:27 UTC 2013


---
 imgcreate/live.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/imgcreate/live.py b/imgcreate/live.py
index 750cb83..d61818a 100755
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -791,6 +791,16 @@ search --no-floppy --set=root -l '%(isolabel)s'
                                                    long = "Test this media & start " + self.product,
                                                    extra = "rd.live.check",
                                                    index = index)
+            cfg += """
+submenu 'Troubleshooting -->' {
+"""
+            cfg += self.__get_efi_image_stanza(fslabel = self.fslabel,
+                                               liveargs = kernel_options,
+                                               long = "Start " + self.product + " in basic graphics mode",
+                                               extra = "nomodeset", index = index)
+
+            cfg+= """}
+"""
             break
 
         return cfg
-- 
1.8.4.2



More information about the anaconda-patches mailing list