Commits

Moises Henriquez committed 1008a3f

bootloader controller remove root argument from lilo append line

Comments (0)

Files changed (1)

vinstall/controller/bootloader.py

 	    LOG.debug("Adding %s entry to LiLo boot menu"% system.label)
 	    if system.root == self.config['target_device'].path():
 	        # Set grab the values for the tui entry here.
-	        tui_label = system.label
+		system.label = "Vector"
    	        tui_kernel = system.kernel
 	    if splash_opt == True: 
 		# Splash was disabled... override the initd line for the entry
 	        if system.root == self.config['target_device'].path():
 		    system.initrd = None
-		    system.appendline = 'root=%s verbose'% system.root
+		    system.appendline = 'verbose'% system.root
 	    else:
-	        system.appendline = 'root=%s splash quiet'% system.root
+	        system.appendline = 'splash quiet'% system.root
             lilo.add_os(system)
 	if tui_kernel:
 	    # Create the TUI entry for LiLO
 	    tui.root = rootpart.path()
 	    tui.type = "linux"
 	    tui.initrd = None
-	    tui.label = "%s-tui"%tui_label
-	    tui.appendline = 'root=%s ro 2 verbose'% tui.root
+	    tui.label = "%s-tui"% system.label
+	    tui.appendline = '2 verbose'% tui.root
 	    lilo.add_os(tui)