summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-07-15 14:43:08 -0400
committerChris Lumens <clumens@redhat.com>2008-07-15 14:43:18 -0400
commita5fa97a63b75c85c566d55ce34f0c20db4ad41d2 (patch)
treecfa3bc62c380adb95595fd2ab191f937414b3d22 /text.py
parent6ab0120886ee5d7f913030d4e7fb079fbd819fe1 (diff)
downloadanaconda-a5fa97a63b75c85c566d55ce34f0c20db4ad41d2.tar.gz
anaconda-a5fa97a63b75c85c566d55ce34f0c20db4ad41d2.tar.xz
anaconda-a5fa97a63b75c85c566d55ce34f0c20db4ad41d2.zip
Add a text-mode network configurator dialog so default installs can work.
Diffstat (limited to 'text.py')
-rw-r--r--text.py9
1 files changed, 5 insertions, 4 deletions
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