[PATCH master] network spoke: require connection only for url and nfs methods (#853899)

Vratislav Podzimek vpodzime at redhat.com
Tue Sep 4 13:47:48 UTC 2012


Ack.

On Tue, 2012-09-04 at 12:07 +0200, Radek Vykydal wrote:
> E.g. allow DVD installs without network.
> ---
>  pyanaconda/ui/gui/spokes/network.py |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index 81b2c54..9a862aa 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -926,7 +926,9 @@ class NetworkSpoke(NormalSpoke):
>  
>      @property
>      def completed(self):
> -        return len(self.network_control_box.active_connections()) > 0
> +        # TODO: check also if source requires updates when implemented
> +        return (self.data.method.method not in ("url", "nfs") or
> +                len(self.network_control_box.active_connections()) > 0)
>  
>      @property
>      def status(self):

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list