[PATCH master 2/7] networking: mirror end-of-installation network config tweaks in ksdata.

Chris Lumens clumens at redhat.com
Fri Aug 24 15:16:36 UTC 2012


> diff --git a/pyanaconda/install.py b/pyanaconda/install.py
> index 25ef730..0652d46 100644
> --- a/pyanaconda/install.py
> +++ b/pyanaconda/install.py
> @@ -87,7 +87,7 @@ def doInstall(storage, payload, ksdata, instClass):
>      ksdata.keyboard.execute(storage, ksdata, instClass)
>      ksdata.timezone.execute(storage, ksdata, instClass)
>  
> -    writeNetworkConf(storage, instClass)
> +    writeNetworkConf(storage, ksdata, instClass)
>  
>      # Creating users and groups requires some pre-configuration.
>      u = Users()

This could just get squashed in with the first patch in the set.

> diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
> index ab4a469..8781f80 100644
> --- a/pyanaconda/yuminstall.py
> +++ b/pyanaconda/yuminstall.py
> @@ -1632,7 +1632,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
>              network.disableIPV6()
>              network.copyConfigToPath(ROOT_PATH)
>              if not anaconda.ksdata:
> -                anaconda.instClass.setNetworkOnbootDefault()
> +                anaconda.instClass.setNetworkOnbootDefault(ksdata)
>              anaconda.storage.write()
>          else:
>              # ensure that /etc/mtab is a symlink to /proc/self/mounts

yuminstall.py isn't used anymore.  You don't need to worry about
changing it.

- Chris


More information about the anaconda-patches mailing list