diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-08-04 11:12:14 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-08-04 11:12:14 +0200 |
commit | dc8c30f746c0d8b794917fe6d45f5130e47d1427 (patch) | |
tree | 97883aba0ea0767794aa77509686a35abc22022c /instdata.py | |
parent | 99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707 (diff) | |
download | anaconda-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.py | 2 |
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 |