diff options
-rwxr-xr-x | gui.py | 2 | ||||
-rw-r--r-- | rescue.py | 2 | ||||
-rw-r--r-- | text.py | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -1162,6 +1162,8 @@ class InstallInterface: pass def enableNetwork(self, anaconda): + if len(anaconda.id.network.netdevices) == 0: + return False from netconfig_dialog import NetworkConfigurator net = NetworkConfigurator(anaconda.id.network) ret = net.run() @@ -82,6 +82,8 @@ class RescueInterface: return OkCancelWindow(self.screen, title, text) def enableNetwork(self, anaconda): + if len(anaconda.id.network.netdevices) == 0: + return False from netconfig_text import NetworkConfiguratorText w = NetworkConfiguratorText(self.screen, anaconda) ret = w.run() @@ -496,6 +496,8 @@ class InstallInterface: return (passphrase, isglobal) def enableNetwork(self, anaconda): + if len(anaconda.id.network.netdevices) == 0: + return False from netconfig_text import NetworkConfiguratorText w = NetworkConfiguratorText(self.screen, anaconda) ret = w.run() |