Fixed the stage2 line in isolinux config for RHEL

This commit is contained in:
Martin Gracik 2009-10-02 15:48:14 +02:00
parent 56de80c38a
commit 2742bd1897

View File

@ -405,7 +405,7 @@ class Lorax(object):
# set up the label for finding stage2 with a hybrid iso # set up the label for finding stage2 with a hybrid iso
replace(isolinuxcfg, r"initrd=initrd.img", replace(isolinuxcfg, r"initrd=initrd.img",
"initrd=initrd.img stage2=hd:LABEL=%s" % (self.conf.product,)) 'initrd=initrd.img stage2=hd:LABEL="%s"' % (self.conf.product,))
# copy the grub.conf # copy the grub.conf
shutil.copy2(os.path.join(bootdiskdir, "grub.conf"), shutil.copy2(os.path.join(bootdiskdir, "grub.conf"),