summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-04 21:21:05 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-04 21:21:05 +0000
commitc686d8f9eeb6e92975108729baad721463a1465d (patch)
treef8b059b0f93b62eb5c4d59b81608dace497eb912 /installclasses
parentb6322520b8b644384ca6d7f277103cfb2441d552 (diff)
downloadanaconda-c686d8f9eeb6e92975108729baad721463a1465d.tar.gz
anaconda-c686d8f9eeb6e92975108729baad721463a1465d.tar.xz
anaconda-c686d8f9eeb6e92975108729baad721463a1465d.zip
add rhel installclasses as hidden so they can get translated
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/rhel-as.py41
-rw-r--r--installclasses/rhel-dt.py45
-rw-r--r--installclasses/rhel-es.py41
-rw-r--r--installclasses/rhel-ws.py45
4 files changed, 172 insertions, 0 deletions
diff --git a/installclasses/rhel-as.py b/installclasses/rhel-as.py
new file mode 100644
index 000000000..2a07cc1f3
--- /dev/null
+++ b/installclasses/rhel-as.py
@@ -0,0 +1,41 @@
+from installclass import BaseInstallClass
+from rhpl.translate import N_
+from constants import *
+import os
+import iutil
+
+# custom installs are easy :-)
+class InstallClass(BaseInstallClass):
+ name = N_("Red Hat Enterprise Linux AS")
+ pixmap = "server.png"
+ description = N_("Red Hat Enterprise Linux AS")
+ sortPriority = 100
+ showLoginChoice = 0
+ hidden = 1
+
+ pkgstext = _("\tDesktop shell (GNOME)\n"
+ "\tAdministration Tools\n"
+ "\tServer Configuration Tools\n"
+ "\tWeb Server\n"
+ "\tWindows File Server (SMB)\n")
+
+ def setSteps(self, dispatch):
+ BaseInstallClass.setSteps(self, dispatch);
+ dispatch.skipStep("desktopchoice", skip = 0)
+ dispatch.skipStep("package-selection", skip = 1)
+
+ def setGroupSelection(self, grpset, intf):
+ BaseInstallClass.__init__(self, grpset)
+
+ grpset.unselectAll()
+ grpset.selectGroup("server", asMeta = 1)
+ grpset.selectGroup("base-x")
+ grpset.selectGroup("gnome-desktop")
+
+ def setInstallData(self, id):
+ BaseInstallClass.setInstallData(self, id)
+ BaseInstallClass.setDefaultPartitioning(self, id.partitions,
+ CLEARPART_TYPE_ALL)
+
+ def __init__(self, expert):
+ BaseInstallClass.__init__(self, expert)
diff --git a/installclasses/rhel-dt.py b/installclasses/rhel-dt.py
new file mode 100644
index 000000000..b2bece0c4
--- /dev/null
+++ b/installclasses/rhel-dt.py
@@ -0,0 +1,45 @@
+from installclass import BaseInstallClass
+from rhpl.translate import N_
+from constants import *
+import os
+import iutil
+
+# custom installs are easy :-)
+class InstallClass(BaseInstallClass):
+ name = N_("Red Hat Enterprise Linux DT")
+ pixmap = "workstation.png"
+ description = N_("Red Hat Enterprise Linux DT")
+ sortPriority = 100
+ showLoginChoice = 0
+ hidden = 1
+
+ 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")
+
+ def setSteps(self, dispatch):
+ BaseInstallClass.setSteps(self, dispatch);
+ dispatch.skipStep("partition")
+ dispatch.skipStep("authentication")
+
+ dispatch.skipStep("desktopchoice", skip = 0)
+ dispatch.skipStep("package-selection", skip = 1)
+
+ def setGroupSelection(self, grpset, intf):
+ BaseInstallClass.__init__(self, grpset)
+
+ grpset.unselectAll()
+ grpset.selectGroup("workstation-common", asMeta = 1)
+ grpset.selectGroup("gnome-desktop")
+
+ def setInstallData(self, id):
+ BaseInstallClass.setInstallData(self, id)
+ BaseInstallClass.setDefaultPartitioning(self, id.partitions,
+ CLEARPART_TYPE_ALL)
+
+ def __init__(self, expert):
+ BaseInstallClass.__init__(self, expert)
diff --git a/installclasses/rhel-es.py b/installclasses/rhel-es.py
new file mode 100644
index 000000000..037cce4b6
--- /dev/null
+++ b/installclasses/rhel-es.py
@@ -0,0 +1,41 @@
+from installclass import BaseInstallClass
+from rhpl.translate import N_
+from constants import *
+import os
+import iutil
+
+# custom installs are easy :-)
+class InstallClass(BaseInstallClass):
+ name = N_("Red Hat Enterprise Linux ES")
+ pixmap = "server.png"
+ description = N_("Red Hat Enterprise Linux ES")
+ sortPriority = 100
+ showLoginChoice = 1
+ hidden = 1
+
+ pkgstext = _("\tDesktop shell (GNOME)\n"
+ "\tAdministration Tools\n"
+ "\tServer Configuration Tools\n"
+ "\tWeb Server\n"
+ "\tWindows File Server (SMB)\n")
+
+ def setSteps(self, dispatch):
+ BaseInstallClass.setSteps(self, dispatch);
+ dispatch.skipStep("desktopchoice", skip = 0)
+ dispatch.skipStep("package-selection", skip = 1)
+
+ def setGroupSelection(self, grpset, intf):
+ BaseInstallClass.__init__(self, grpset)
+
+ grpset.unselectAll()
+ grpset.selectGroup("server", asMeta = 1)
+ grpset.selectGroup("base-x")
+ grpset.selectGroup("gnome-desktop")
+
+ def setInstallData(self, id):
+ BaseInstallClass.setInstallData(self, id)
+ BaseInstallClass.setDefaultPartitioning(self, id.partitions,
+ CLEARPART_TYPE_ALL)
+
+ def __init__(self, expert):
+ BaseInstallClass.__init__(self, expert)
diff --git a/installclasses/rhel-ws.py b/installclasses/rhel-ws.py
new file mode 100644
index 000000000..b1200941a
--- /dev/null
+++ b/installclasses/rhel-ws.py
@@ -0,0 +1,45 @@
+from installclass import BaseInstallClass
+from rhpl.translate import N_
+from constants import *
+import os
+import iutil
+
+# custom installs are easy :-)
+class InstallClass(BaseInstallClass):
+ name = N_("Red Hat Enterprise Linux WS")
+ pixmap = "workstation.png"
+ description = N_("Red Hat Enterprise Linux WS")
+ sortPriority = 100
+ showLoginChoice = 0
+ hidden = 1
+
+ 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")
+
+ def setSteps(self, dispatch):
+ BaseInstallClass.setSteps(self, dispatch);
+ dispatch.skipStep("desktopchoice", skip = 0)
+ dispatch.skipStep("package-selection", skip = 1)
+
+ def setGroupSelection(self, grpset, intf):
+ BaseInstallClass.__init__(self, grpset)
+
+ grpset.unselectAll()
+ grpset.selectGroup("workstation-common", asMeta = 1)
+ grpset.selectGroup("gnome-desktop")
+ grpset.selectGroup("development-tools")
+
+ def setInstallData(self, id):
+ BaseInstallClass.setInstallData(self, id)
+ BaseInstallClass.setDefaultPartitioning(self, id.partitions,
+ CLEARPART_TYPE_LINUX)
+
+ def __init__(self, expert):
+ BaseInstallClass.__init__(self, expert)