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 /booty/sparc.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 'booty/sparc.py')
-rw-r--r-- | booty/sparc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/booty/sparc.py b/booty/sparc.py index b12b20769..9154ac3c0 100644 --- a/booty/sparc.py +++ b/booty/sparc.py @@ -121,8 +121,8 @@ class sparcBootloaderInfo(bootloaderInfo): else: raise BootyNoKernelWarning - def __init__(self, storage): - bootloaderInfo.__init__(self, storage) + def __init__(self, storage, network): + bootloaderInfo.__init__(self, storage, network) self.useSiloVal = 1 self.kernelLocation = "/boot" self._configdir = "/etc" |