diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-12 05:24:58 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-12 05:24:58 +0000 |
commit | 5b3022f9619cb641163684bca498363b43cda056 (patch) | |
tree | 76019e0330d0ae615330102bead153e59071b5ab /kickstart.py | |
parent | 744ffe10051e0055ae09413fb72c074979fb0880 (diff) | |
download | anaconda-5b3022f9619cb641163684bca498363b43cda056.tar.gz anaconda-5b3022f9619cb641163684bca498363b43cda056.tar.xz anaconda-5b3022f9619cb641163684bca498363b43cda056.zip |
add linear/nolinear arguments for bootloader directive (lilo compat)
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py index e00f8bf49..551c4936f 100644 --- a/kickstart.py +++ b/kickstart.py @@ -203,7 +203,7 @@ class KickstartBase(BaseInstallClass): def doBootloader (self, id, args): (args, extra) = isys.getopt(args, '', [ 'append=', 'location=', 'useLilo', '--lba32', - 'password=', 'md5pass=']) + 'password=', 'md5pass=', 'linear', 'nolinear']) appendLine = None location = "mbr" @@ -211,6 +211,7 @@ class KickstartBase(BaseInstallClass): password = None md5pass = None forceLBA = 0 + linear = 1 for n in args: (str, arg) = n @@ -227,6 +228,11 @@ class KickstartBase(BaseInstallClass): password = arg elif str == '--md5pass': md5pass = arg + elif str == '--linear': + linear = 1 + elif str == '--nolinear': + linear = 0 + self.setBootloader(id, useLilo, forceLBA, password, md5pass, appendLine) self.skipSteps.append("bootloader") |