diff options
author | Chris Lumens <clumens@redhat.com> | 2008-07-15 14:43:08 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-07-15 14:43:18 -0400 |
commit | a5fa97a63b75c85c566d55ce34f0c20db4ad41d2 (patch) | |
tree | cfa3bc62c380adb95595fd2ab191f937414b3d22 /text.py | |
parent | 6ab0120886ee5d7f913030d4e7fb079fbd819fe1 (diff) | |
download | anaconda-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.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |