summaryrefslogtreecommitdiffstats
path: root/booty/x86.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-08-04 11:12:14 +0200
committerHans de Goede <hdegoede@redhat.com>2009-08-04 11:12:14 +0200
commitdc8c30f746c0d8b794917fe6d45f5130e47d1427 (patch)
tree97883aba0ea0767794aa77509686a35abc22022c /booty/x86.py
parent99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707 (diff)
downloadanaconda-dc8c30f746c0d8b794917fe6d45f5130e47d1427.tar.gz
anaconda-dc8c30f746c0d8b794917fe6d45f5130e47d1427.tar.xz
anaconda-dc8c30f746c0d8b794917fe6d45f5130e47d1427.zip
Add a dracutSetupString method to network.py
Add a dracutSetupString method to network.py, this can be used to ask the Network class to get a dracut setup string to setup the interface needed for a connection to a certain host. This patch also adds code to booty to use this to get kernel cmdline dracut setup commands for any NIC's needed to connect to devices needed for /
Diffstat (limited to 'booty/x86.py')
-rw-r--r--booty/x86.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/booty/x86.py b/booty/x86.py
index f90cb86da..97354fc72 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -578,15 +578,15 @@ class x86BootloaderInfo(efiBootloaderInfo):
return args
- def __init__(self, storage):
- bootloaderInfo.__init__(self, storage)
+ def __init__(self, storage, network):
+ bootloaderInfo.__init__(self, storage, network)
# these have to be set /before/ efiBootloaderInfo.__init__(), or
# they'll be overwritten.
self._configdir = "/boot/grub"
self._configname = "grub.conf"
- efiBootloaderInfo.__init__(self, storage, initialize=False)
+ efiBootloaderInfo.__init__(self, storage, network, initialize=False)
# XXX use checkbootloader to determine what to default to
self.useGrubVal = 1