summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kickstart.py8
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")