From 1ad5ae466e0c08fa7357ac8c9d2db0c45b9bf168 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Wed, 28 Sep 2011 15:43:09 +0400 Subject: [PATCH] Fix work with --mbr=off. --- pym/cl_install.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/cl_install.py b/pym/cl_install.py index 4bb4abf..4d30f2f 100644 --- a/pym/cl_install.py +++ b/pym/cl_install.py @@ -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: