diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-22 05:33:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-22 05:33:53 +0000 |
commit | ffab316c87251475a1c4695ef16d342bdd617b7f (patch) | |
tree | 3645f5f101c79576dd836a4501a1a588ef82100f | |
parent | bc4053079e1e05ac8c13e0942ec26c959c784429 (diff) | |
download | anaconda-ffab316c87251475a1c4695ef16d342bdd617b7f.tar.gz anaconda-ffab316c87251475a1c4695ef16d342bdd617b7f.tar.xz anaconda-ffab316c87251475a1c4695ef16d342bdd617b7f.zip |
zerombr reinitializes the disks
-rw-r--r-- | installclass.py | 4 | ||||
-rw-r--r-- | kickstart.py | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/installclass.py b/installclass.py index 63a88a60b..b29c21845 100644 --- a/installclass.py +++ b/installclass.py @@ -167,8 +167,8 @@ class BaseInstallClass: def setMakeBootdisk(self, state): self.makeBootdisk = state - def setZeroMbr(self, state): - self.zeroMbr = state + def setZeroMbr(self, id, initAll): + id.partitions.reinitializeDisks = initAll def setEarlySwapOn(self, state = 0): self.earlySwapOn = state diff --git a/kickstart.py b/kickstart.py index d5c56054f..06601b6e1 100644 --- a/kickstart.py +++ b/kickstart.py @@ -399,10 +399,7 @@ class KickstartBase(BaseInstallClass): self.skipSteps.append("keyboard") def doZeroMbr(self, id, args): - # XXX fix me - pass -## if args[0] == "yes": -## self.setZeroMbr(1) + self.setZeroMbr(id, 1) def doMouse(self, id, args): (args, extra) = isys.getopt(args, '', [ 'device=', 'emulthree' ]) |