diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-06-23 03:21:00 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-06-23 03:21:00 +0000 |
commit | 2f534ef8322cdfd0e353ab3f60409c7b1851a76e (patch) | |
tree | dcbb0395a802b252b3b87cdf259d5e53745b5c20 /installclass.py | |
parent | 1f8d931ee13ded5b275ed61f59d04c74f59a3fee (diff) | |
download | anaconda-2f534ef8322cdfd0e353ab3f60409c7b1851a76e.tar.gz anaconda-2f534ef8322cdfd0e353ab3f60409c7b1851a76e.tar.xz anaconda-2f534ef8322cdfd0e353ab3f60409c7b1851a76e.zip |
fix setting of bootloader via installclass methods
kickstart:
add samba auth
bootloader key
wire in lilo support
a few more partitioning options
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/installclass.py b/installclass.py index 34b094ab0..6cbc0a8eb 100644 --- a/installclass.py +++ b/installclass.py @@ -31,11 +31,18 @@ class BaseInstallClass: def postAction(self, rootPath, serial): pass - def setLiloInformation(self, location, linear = 1, appendLine = None): + def setBootloader(self, id, useLilo = 0, appendLine = None): + if useLilo: + id.bootloader.useGrubVal = 0 + id.bootloader.args.set(appendLine) + + def setLiloInformation(self, id, location, linear = 1, appendLine = None): # this throws an exception if there is a problem ["mbr", "partition", None].index(location) - self.lilo = (location, linear, appendLine) + id.bootloader.useLinear = linear + id.bootloader.args.set(appendLine) + id.bootloader.useGrubVal = 0 def setClearParts(self, clear, warningText = None): self.clearParts = clear @@ -49,8 +56,8 @@ class BaseInstallClass: def getClearParts(self): return self.clearParts - def getLiloInformation(self): - return self.lilo + def getFstab(self): + return self.fstab def addRaidEntry(self, mntPoint, raidDev, level, devices): # throw an exception for bad raid levels |