diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-24 20:49:35 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-24 20:49:35 +0000 |
commit | 66cfd9603aafd74647f441212cdfcf2fead9ddca (patch) | |
tree | 0ea8c80193fa2c05d87495eef714ddcae2a9e5c3 /installclasses | |
parent | 183c8a0568849a1e5abbb3a9f5cb9f071be39889 (diff) | |
download | anaconda-66cfd9603aafd74647f441212cdfcf2fead9ddca.tar.gz anaconda-66cfd9603aafd74647f441212cdfcf2fead9ddca.tar.xz anaconda-66cfd9603aafd74647f441212cdfcf2fead9ddca.zip |
i2004-09-24 Jeremy Katz <katzj@redhat.com>
* installclasses/rhel_as.py:
* installclasses/rhel_desktop.py:
* installclasses/rhel_es.py:
* installclasses/rhel_ws.py:
Add installclasses for Red Hat Enterprise Linux (hidden) for
translation purposes.
Diffstat (limited to 'installclasses')
-rw-r--r-- | installclasses/rhel_as.py | 41 | ||||
-rw-r--r-- | installclasses/rhel_desktop.py | 43 | ||||
-rw-r--r-- | installclasses/rhel_es.py | 41 | ||||
-rw-r--r-- | installclasses/rhel_ws.py | 45 |
4 files changed, 170 insertions, 0 deletions
diff --git a/installclasses/rhel_as.py b/installclasses/rhel_as.py new file mode 100644 index 000000000..d0fa6ea18 --- /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 = 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_desktop.py b/installclasses/rhel_desktop.py new file mode 100644 index 000000000..7bd01e472 --- /dev/null +++ b/installclasses/rhel_desktop.py @@ -0,0 +1,43 @@ +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 Desktop") + pixmap = "workstation.png" + description = N_("Red Hat Enterprise Linux Desktop") + 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" + "\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") + + def setInstallData(self, id): + BaseInstallClass.setInstallData(self, id) + BaseInstallClass.setDefaultPartitioning(self, id.partitions, + CLEARPART_TYPE_LINUX) + + 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..9d862ced0 --- /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..05b2d62e9 --- /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) |