summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-03-02 18:50:23 +0000
committerJeremy Katz <katzj@redhat.com>2005-03-02 18:50:23 +0000
commitb6b240e2a7bd7ebf82a9fa49aa1ecd642ca321db (patch)
tree5895630c72e5326513c74f81834ff47000171c7e
parent6fa37336f3e2584f5d7811f38633047e4d6f7457 (diff)
downloadanaconda-b6b240e2a7bd7ebf82a9fa49aa1ecd642ca321db.tar.gz
anaconda-b6b240e2a7bd7ebf82a9fa49aa1ecd642ca321db.tar.xz
anaconda-b6b240e2a7bd7ebf82a9fa49aa1ecd642ca321db.zip
2005-03-02 Jeremy Katz <katzj@redhat.com>
* kickstart.py (KickstartBase.doBootloader): Don't install a bootloader if --location=none is provided in the kickstart config file (clumens, #146448).
-rw-r--r--ChangeLog4
-rw-r--r--kickstart.py14
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index f796d29f1..deb7ac194 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2005-03-02 Jeremy Katz <katzj@redhat.com>
+ * kickstart.py (KickstartBase.doBootloader): Don't install a
+ bootloader if --location=none is provided in the kickstart config
+ file (clumens, #146448).
+
* autopart.py (fitConstrained): Allow logical partitions to go all
the way to the end of the extended partition. (clumens, #101432)
diff --git a/kickstart.py b/kickstart.py
index b607b2e90..2833a5909 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -375,18 +375,18 @@ class KickstartBase(BaseInstallClass):
id.bootloader.kickstart = 1
id.bootloader.doUpgradeOnly = 1
-
- self.showSteps.append("bootloadersetup")
-
- self.setBootloader(id, useLilo, location, linear, forceLBA,
+ if location is None:
+ self.skipSteps.append("bootloadersetup")
+ self.skipSteps.append("instbootloader")
+ else:
+ self.showSteps.append("bootloadersetup")
+ self.setBootloader(id, useLilo, location, linear, forceLBA,
password, md5pass, appendLine, driveorder)
+
self.skipSteps.append("upgbootloader")
self.skipSteps.append("bootloader")
self.skipSteps.append("bootloaderadvanced")
- if location is None:
- self.skipSteps.append("instbootloader")
-
def doLilo (self, id, args):
self.doBootloader(id, args, useLilo = 1)