fix bootloader options omitted
authorGui Chen <gui.chen@intel.com>
Wed, 14 Aug 2013 03:47:00 +0000 (23:47 -0400)
committerGui Chen <gui.chen@intel.com>
Wed, 14 Aug 2013 07:11:04 +0000 (03:11 -0400)
when extra option is more than 1, the 1st will be
saved, but the others will be omitted, this patch
is fixing it

Fixes: #607

Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/imager/livecd.py

index a992ee0..49137e2 100644 (file)
@@ -574,7 +574,7 @@ menu clear
                         extra = ""
 
                 if len(menu) >= 3:
-                    extra = menu[2]
+                    extra = ' '.join(menu[2:])
 
                 cfg += self.__get_image_stanza(is_xen, isDracut,
                                                fslabel = self.fslabel,