[PATCH master] network spoke: require connection only for url and nfs methods (#853899)
Radek Vykydal
rvykydal at redhat.com
Tue Sep 4 10:07:42 UTC 2012
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):
--
1.7.4
More information about the anaconda-patches
mailing list