diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-04-24 00:06:43 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-04-24 00:06:43 +0000 |
commit | 8b2a2e7a50c9080ce6fbf7d2698b05d4d4b20dd0 (patch) | |
tree | 49c3a86a366e3f6b1d7d828155d5d3d15120586e /bootloader.py | |
parent | 5e4c6d56c9d17d21ad8342dc5da815b377919faf (diff) | |
download | anaconda-8b2a2e7a50c9080ce6fbf7d2698b05d4d4b20dd0.tar.gz anaconda-8b2a2e7a50c9080ce6fbf7d2698b05d4d4b20dd0.tar.xz anaconda-8b2a2e7a50c9080ce6fbf7d2698b05d4d4b20dd0.zip |
set defaults here instead of depending on a bootloader ui screen to do it
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bootloader.py b/bootloader.py index aaa45a285..b9eea2b8e 100644 --- a/bootloader.py +++ b/bootloader.py @@ -54,6 +54,11 @@ def bootloaderSetupChoices(dispatch, bl, fsset, diskSet, dir): log("MBR not suitable as boot device; installing to partition") bl.defaultDevice = "boot" bl.setDevice(choices[bl.defaultDevice][0]) + elif choices and choices.has_key("mbr"): + bl.setDevice(choices["mbr"][0]) + elif choices and choices.has_key("boot"): + bl.setDevice(choices["boot"][0]) + bootDev = fsset.getEntryByMountPoint("/") if not bootDev: |