summaryrefslogtreecommitdiffstats
path: root/instdata.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 /instdata.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 'instdata.py')
-rw-r--r--instdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/instdata.py b/instdata.py
index 6700528fd..b3497b329 100644
--- a/instdata.py
+++ b/instdata.py
@@ -74,7 +74,7 @@ class InstallData:
if flags.cmdline.has_key("preupgrade"):
self.upgrade = True
self.storage = storage.Storage(self.anaconda)
- self.bootloader = booty.getBootloader(self.storage)
+ self.bootloader = booty.getBootloader(self.storage, self.network)
self.upgradeRoot = None
self.rootParts = None
self.upgradeSwapInfo = None