summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-01-18 15:27:12 +0000
committerJeremy Katz <katzj@redhat.com>2007-01-18 15:27:12 +0000
commitf97016cfc982494ab2362bd0e530e2427622726f (patch)
tree6fcec0cb91b283dbcd08a053c03e0b906b8977c5 /installclasses
parent87c25642b55cc7be581c06931a7fc739628a36f8 (diff)
downloadanaconda-f97016cfc982494ab2362bd0e530e2427622726f.tar.gz
anaconda-f97016cfc982494ab2362bd0e530e2427622726f.tar.xz
anaconda-f97016cfc982494ab2362bd0e530e2427622726f.zip
2007-01-18 Jeremy Katz <katzj@redhat.com>
* installclasses/custom.py: Remove obsolete file * installclasses/personal_desktop.py: Likewise. * installclasses/server.py: Likewise. * installclasses/workstation.py: Likewise.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/custom.py27
-rw-r--r--installclasses/personal_desktop.py52
-rw-r--r--installclasses/server.py39
-rw-r--r--installclasses/workstation.py39
4 files changed, 0 insertions, 157 deletions
diff --git a/installclasses/custom.py b/installclasses/custom.py
deleted file mode 100644
index a177f4710..000000000
--- a/installclasses/custom.py
+++ /dev/null
@@ -1,27 +0,0 @@
-from installclass import BaseInstallClass
-from rhpl.translate import N_
-from constants import *
-import os
-import iutil
-
-# custom installs are easy :-)
-class InstallClass(BaseInstallClass):
- # name has underscore used for mnemonics, strip if you dont need it
- id = "custom"
- name = N_("_Custom")
- pixmap = "custom.png"
- description = N_("Select this installation type to gain complete "
- "control over the installation process, including "
- "software package selection and partitioning.")
- sortPriority = 10000
- showLoginChoice = 1
- showMinimal = 1
- hidden = 1
-
- def setInstallData(self, anaconda):
- BaseInstallClass.setInstallData(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions,
- CLEARPART_TYPE_LINUX)
-
- def __init__(self, expert):
- BaseInstallClass.__init__(self, expert)
diff --git a/installclasses/personal_desktop.py b/installclasses/personal_desktop.py
deleted file mode 100644
index 9ec88257b..000000000
--- a/installclasses/personal_desktop.py
+++ /dev/null
@@ -1,52 +0,0 @@
-from installclass import BaseInstallClass
-from rhpl.translate import N_, _
-from constants import *
-import os
-import iutil
-from fsset import *
-
-class InstallClass(BaseInstallClass):
- # name has underscore used for mnemonics, strip if you dont need it
- id = "personal desktop"
- name = N_("_Personal Desktop")
- pixmap = "workstation.png"
- description = N_("Perfect for personal computers or laptops, select this "
- "installation type to install a graphical desktop "
- "environment and create a system ideal for home "
- "or desktop use.")
-
- pkgstext = N_("\tDesktop shell (GNOME)\n"
- "\tOffice suite (OpenOffice.org)\n"
- "\tWeb browser \n"
- "\tEmail (Evolution)\n"
- "\tInstant messaging\n"
- "\tSound and video applications\n"
- "\tGames\n")
-
-
- showLoginChoice = 0
- sortPriority = 1
- hidden = 1
-
- def setSteps(self, dispatch):
- BaseInstallClass.setSteps(self, dispatch);
- dispatch.skipStep("partition")
- dispatch.skipStep("desktopchoice", skip = 0)
- dispatch.skipStep("package-selection", skip = 1)
-
- def setGroupSelection(self, anaconda):
- BaseInstallClass.__init__(self, anaconda.backend)
-
- anaconda.backend.unselectAll()
-
- anaconda.backend.selectGroup("workstation-common", asMeta = 1)
- anaconda.backend.selectGroup("gnome-desktop")
- anaconda.backend.selectGroup("compat-arch-support", asMeta = 1, missingOk = 1)
-
- def setInstallData(self, anaconda):
- BaseInstallClass.setInstallData(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions,
- CLEARPART_TYPE_LINUX)
-
- def __init__(self, expert):
- BaseInstallClass.__init__(self, expert)
diff --git a/installclasses/server.py b/installclasses/server.py
deleted file mode 100644
index 819357a59..000000000
--- a/installclasses/server.py
+++ /dev/null
@@ -1,39 +0,0 @@
-from installclass import BaseInstallClass
-from rhpl.translate import *
-from constants import *
-import os
-import iutil
-
-class InstallClass(BaseInstallClass):
-
- # name has underscore used for mnemonics, strip if you dont need it
- id = "server"
- name = N_("_Server")
- pixmap = "server.png"
- description = N_("Select this installation type if you would like to "
- "set up file sharing, print sharing, and Web services. "
- "Additional services can also be enabled, and you "
- "can choose whether or not to install a graphical "
- "environment.")
-
- sortPriority = 10
- showLoginChoice = 1
- hidden = 1
-
- def setSteps(self, dispatch):
- BaseInstallClass.setSteps(self, dispatch);
-
- def setGroupSelection(self, anaconda):
- BaseInstallClass.__init__(self, anaconda.backend)
-
- anaconda.backend.unselectAll()
- anaconda.backend.selectGroup("server", asMeta = 1)
- anaconda.backend.selectGroup("compat-arch-support", asMeta = 1, missingOk = 1)
-
- def setInstallData(self, anaconda):
- BaseInstallClass.setInstallData(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions,
- CLEARPART_TYPE_ALL)
-
- def __init__(self, expert):
- BaseInstallClass.__init__(self, expert)
diff --git a/installclasses/workstation.py b/installclasses/workstation.py
deleted file mode 100644
index 6fa8ef6a8..000000000
--- a/installclasses/workstation.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import personal_desktop
-from rhpl.translate import N_, _
-import os
-
-class InstallClass(personal_desktop.InstallClass):
- # name has underscore used for mnemonics, strip if you dont need it
- id = "workstation"
- name = N_("_Workstation")
- pixmap = "workstation.png"
- description = N_("This option installs a graphical desktop "
- "environment with tools for software "
- "development and system administration. ")
-
- pkgstext = N_("\tDesktop shell (GNOME)\n"
- "\tOffice suite (OpenOffice.org)\n"
- "\tWeb browser \n"
- "\tEmail (Evolution)\n"
- "\tInstant messaging\n"
- "\tSound and video applications\n"
- "\tGames\n"
- "\tSoftware Development Tools\n"
- "\tAdministration Tools\n")
-
-
- sortPriority = 2
- showLoginChoice = 0
- hidden = 1
-
- def setGroupSelection(self, anaconda):
- personal_desktop.InstallClass.setGroupSelection(self, anaconda.backend, intf)
- anaconda.backend.selectGroup("emacs")
- anaconda.backend.selectGroup("gnome-software-development")
- anaconda.backend.selectGroup("x-software-development")
- anaconda.backend.selectGroup("development-tools")
- anaconda.backend.selectGroup("compat-arch-support", asMeta = 1, missingOk = 1)
- anaconda.backend.selectGroup("compat-arch-development", asMeta = 1, missingOk = 1)
-
- def __init__(self, expert):
- personal_desktop.InstallClass.__init__(self, expert)