summaryrefslogtreecommitdiffstats
path: root/booty/bootloaderInfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'booty/bootloaderInfo.py')
-rw-r--r--booty/bootloaderInfo.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index 21e4c4160..35e9bc9d7 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -159,11 +159,11 @@ class KernelArguments:
self.appendArgs += args
- def __init__(self, instData):
+ def __init__(self, anaconda):
newArgs = []
cfgFilename = "/tmp/install.cfg"
- self.anaconda = instData.anaconda
+ self.anaconda = anaconda
if iutil.isS390():
self.cargs = []
@@ -202,7 +202,6 @@ class KernelArguments:
self.args = " ".join(newArgs)
self.appendArgs = ""
- self.id = instData
class BootImages:
@@ -536,8 +535,8 @@ class bootloaderInfo(object):
self._drivelist = val
drivelist = property(_getDriveList, _setDriveList)
- def __init__(self, instData):
- self.args = KernelArguments(instData)
+ def __init__(self, anaconda):
+ self.args = KernelArguments(anaconda)
self.images = BootImages()
self.device = None
self.defaultDevice = None # XXX hack, used by kickstart
@@ -549,7 +548,7 @@ class bootloaderInfo(object):
self.pure = None
self.above1024 = 0
self.timeout = None
- self.storage = instData.storage
+ self.storage = anaconda.storage
# this has somewhat strange semantics. if 0, act like a normal
# "install" case. if 1, update lilo.conf (since grubby won't do that)
@@ -673,11 +672,11 @@ class efiBootloaderInfo(bootloaderInfo):
return rc
return self.addNewEfiEntry(instRoot)
- def __init__(self, instData, initialize = True):
+ def __init__(self, anaconda, initialize = True):
if initialize:
- bootloaderInfo.__init__(self, instData)
+ bootloaderInfo.__init__(self, anaconda)
else:
- self.storage = instData.storage
+ self.storage = anaconda.storage
if iutil.isEfi():
self._configdir = "/boot/efi/EFI/redhat"