summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-14 02:00:12 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-14 02:00:12 +0000
commitc540e134193f9759873ced09b0156c6219983101 (patch)
treeb36013fe219e6c3d8762bf2a0a32b538ac5c0373 /installclass.py
parent3f01dfc8e9d6b8bf25b79b1cbda94ca0ff4ada09 (diff)
downloadanaconda-c540e134193f9759873ced09b0156c6219983101.tar.gz
anaconda-c540e134193f9759873ced09b0156c6219983101.tar.xz
anaconda-c540e134193f9759873ced09b0156c6219983101.zip
merge from taroon-branch. all kinds of miscellaneous bugfixes, including
* firewall update * iSeries PReP size * ppc mediacheck * tzdata stuff * cmdline mode * pkg defaults screen
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/installclass.py b/installclass.py
index a8ab8145b..a2aadcc91 100644
--- a/installclass.py
+++ b/installclass.py
@@ -35,6 +35,18 @@ class BaseInstallClass:
showLoginChoice = 0
description = None
name = "base"
+ pkgstext = ""
+
+# pkgstext = _("\tDesktop shell (GNOME)\n"
+# "\tOffice suite (OpenOffice)\n"
+# "\tWeb browser (Mozilla) \n"
+# "\tEmail (Evolution)\n"
+# "\tInstant messaging\n"
+# "\tSound and video applications\n"
+# "\tGames\n"
+# "\tSoftware Development Tools\n"
+# "\tAdministration Tools\n")
+
# don't select this class by default
default = 0
@@ -329,14 +341,11 @@ class BaseInstallClass:
def setDesktop(self, id, desktop):
id.desktop.setDefaultDesktop (desktop)
- def setFirewall(self, id, enable = -1, policy = 1, trusts = [], ports = "",
- dhcp = 0, ssh = 0, telnet = 0, smtp = 0, http = 0,
- ftp = 0):
+ def setFirewall(self, id, enable = 1, trusts = [], ports = "",
+ ssh = 0, telnet = 0, smtp = 0, http = 0, ftp = 0):
id.firewall.enabled = enable
- id.firewall.policy = policy
id.firewall.trustdevs = trusts
id.firewall.portlist = ports
- id.firewall.dhcp = dhcp
id.firewall.ssh = ssh
id.firewall.telnet = telnet
id.firewall.smtp = smtp