From a5fa97a63b75c85c566d55ce34f0c20db4ad41d2 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 15 Jul 2008 14:43:08 -0400 Subject: Add a text-mode network configurator dialog so default installs can work. --- text.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'text.py') diff --git a/text.py b/text.py index 298a201ca..71ec6d774 100644 --- a/text.py +++ b/text.py @@ -375,16 +375,17 @@ class InstallInterface: return (passphrase, isglobal) def enableNetwork(self, anaconda): - self.messageWindow(_("Error"), - _("Network configuration is not available in text mode.")) - return False + from netconfig_text import NetworkConfiguratorText + w = NetworkConfiguratorText(self.screen, anaconda) + ret = w.run() + return ret != INSTALL_BACK def getInstallKey(self, anaconda, key = ""): ic = anaconda.id.instClass keyname = _(ic.instkeyname) if keyname is None: keyname = _("Installation Key") - + g = GridFormHelp(self.screen, keyname, "instkey", 1, 6) txt = TextboxReflowed(65, ic.instkeydesc or -- cgit