Fix work with --mbr=off.

master
Mike Hiretsky 13 years ago
parent 094b17f52a
commit 1ad5ae466e

@ -2404,6 +2404,8 @@ class cl_install(color_print, SignalInterrupt):
def checkCorrectBootRecordDisk(self):
"""Check boot record disk"""
mbr = self.clVars.Get('os_install_mbr')
if mbr == "off" or mbr == "":
return True
tableOnBootDisk = self.varSelect('os_device_table',
where="os_device_dev",eq=mbr)
if not tableOnBootDisk:

Loading…
Cancel
Save