On 07/19/2012 04:03 PM, Chris Lumens wrote:
> diff --git a/pyanaconda/__init__.py b/pyanaconda/__init__.py
> index 4510a7a..db835c4 100644
> --- a/pyanaconda/__init__.py
> +++ b/pyanaconda/__init__.py
> @@ -280,6 +280,7 @@ class Anaconda(object):
> self.methodstr = methodstr
>
> def write(self):
> + import network
> self.writeXdriver()
> self.instLanguage.write()
>
> @@ -288,8 +289,8 @@ class Anaconda(object):
> self.instClass.setNetworkOnbootDefault(self.network)
> self.network.write()
> network.copyConfigToPath(ROOT_PATH)
> - self.network.disableNMForStorageDevices(self)
> - self.network.autostartFCoEDevices(self)
> + network.disableNMForStorageDevices(self.storage)
> + network.autostartFCoEDevices(self.storage)
> self.desktop.write()
> self.users.write()
> self.security.write()
Not sure if this happens in a later patch or not, but you'll want to
find another place to put these lines. anaconda.write isn't called from
anywhere and I'm in the process of removing the method entirely.
There are a couple different strategies I've been using for this. See
how storage does it for one, and doInstall for another.
This is on my list of things to figure out, thanks for hints.