1 |
slords |
1.1 |
diff -uNr anaconda-11.1.2.36__orig/installclasses/rhel.py anaconda-11.1.2.36/installclasses/rhel.py |
2 |
|
|
--- anaconda-11.1.2.36__orig/installclasses/rhel.py 2007-03-29 21:49:53.000000000 +0000 |
3 |
|
|
+++ anaconda-11.1.2.36/installclasses/rhel.py 2007-03-29 21:54:49.000000000 +0000 |
4 |
|
|
@@ -61,6 +48,10 @@ |
5 |
|
|
def setGroupSelection(self, anaconda): |
6 |
|
|
grps = anaconda.backend.getDefaultGroups(anaconda) |
7 |
|
|
map(lambda x: anaconda.backend.selectGroup(x), grps) |
8 |
|
|
+ coregrps = ["core", "base", "dialup", "text-internet"] |
9 |
|
|
+ map(lambda x: anaconda.backend.selectGroup(x), coregrps) |
10 |
|
|
+ desktopgrps = ["editors", "graphics", "office", "games", "sound-and-video","base-x","gnome-desktop","graphical-internet","printing"] |
11 |
|
|
+ map(lambda x: anaconda.backend.selectGroup(x), desktopgrps) |
12 |
|
|
|
13 |
|
|
def setSteps(self, dispatch): |
14 |
|
|
BaseInstallClass.setSteps(self, dispatch); |
15 |
|
|
diff -uNr anaconda-11.1.2.36__orig/installclasses/rhel.py anaconda-11.1.2.36/installclasses/rhel.py |
16 |
|
|
--- anaconda-11.1.2.36__orig/installclasses/rhel.py 2007-03-30 23:48:14.000000000 +0000 |
17 |
|
|
+++ anaconda-11.1.2.36/installclasses/rhel.py 2007-03-30 23:48:37.000000000 +0000 |
18 |
|
|
@@ -28,23 +28,13 @@ |
19 |
|
|
if 0: # not productName.startswith("Red Hat Enterprise"): |
20 |
|
|
hidden = 1 |
21 |
|
|
|
22 |
|
|
- taskMap = {'client' : [(N_("Office"), ["office"]), |
23 |
|
|
- (N_("Multimedia"), ["graphics", |
24 |
|
|
- "sound-and-video"])], |
25 |
|
|
- 'server' : [(N_("Software Development"), |
26 |
|
|
- ["development-libs", "development-tools", |
27 |
|
|
- "gnome-software-development", |
28 |
|
|
- "x-software-development"],), |
29 |
|
|
- (N_("Web server"), ["web-server"])], |
30 |
|
|
- 'workstation' : [(N_("Software Development"), |
31 |
|
|
- ["development-libs", "development-tools", |
32 |
|
|
- "gnome-software-development", |
33 |
|
|
- "x-software-development"],)], |
34 |
|
|
- 'vt' : [(N_("Virtualization"), ["virtualization"])], |
35 |
|
|
- 'cluster' : [(N_("Clustering"), ["clustering"])], |
36 |
|
|
- 'clusterstorage': [(N_("Storage Clustering"), |
37 |
|
|
- ["cluster-storage"])] |
38 |
|
|
- } |
39 |
|
|
+ tasks = [(N_("Desktop - Gnome "), ["graphics", "office", "games", "sound-and-video","base-x","gnome-desktop","graphical-internet","printing"]), |
40 |
|
|
+ (N_("Desktop - KDE "), ["graphics", "office", "games", "sound-and-video","base-x","kde-desktop","graphical-internet","printing"]), |
41 |
|
|
+ (N_("Server "), ["server-cfg", "dns-server", "web-server", "ftp-server", "smb-server", "mail-server", "network-server", "legacy-network-server", "news-server"]), |
42 |
|
|
+ (N_("Server - GUI "), ["server-cfg", "dns-server", "web-server", "ftp-server", "smb-server", "mail-server", "network-server", "legacy-network-server", "news-server", "base-x", "gnome-desktop", "admin-tools"]), |
43 |
|
|
+ (N_("Virtualization"), ["virtualization"]), |
44 |
|
|
+ (N_("Clustering"), ["clustering"]), |
45 |
|
|
+ (N_("Storage Clustering"), ["cluster-storage"]) ] |
46 |
|
|
|
47 |
|
|
instkeyname = N_("Installation Number") |
48 |
|
|
instkeydesc = N_("To install the full set of supported packages included " |
49 |
|
|
@@ -136,5 +126,5 @@ |
50 |
|
|
self.repopaths = { "base": "%s" %(productPath,) } |
51 |
|
|
|
52 |
|
|
# minimally set up tasks in case no key is provided |
53 |
|
|
- self.tasks = self.taskMap[productPath.lower()] |
54 |
|
|
+ # self.tasks = self.taskMap[productPath.lower()] |
55 |
|
|
|