/[smeserver]/cdrom.image/product/installclasses/smeserver.py
ViewVC logotype

Annotation of /cdrom.image/product/installclasses/smeserver.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download) (as text)
Fri Jul 8 07:55:42 2005 UTC (19 years, 3 months ago) by gordonr
Branch: MAIN
Content type: text/x-python
Added product hierarchy, now rolled into product.img by BuildISO{,-installer}.sh

1 gordonr 1.1 from installclass import BaseInstallClass
2     from rhpl.translate import *
3     from constants import *
4     import os
5     import iutil
6    
7     class InstallClass(BaseInstallClass):
8    
9     # name has underscore used for mnemonics, strip if you dont need it
10     id = "smeserver"
11     name = N_("_SMEServer")
12     pixmap = "smeserver.png"
13     description = N_("SME Server.")
14    
15     sortPriority = 10
16     showLoginChoice = 1
17    
18     # Maybe we should use upgradeclass.py as the template?
19    
20     def setSteps(self, dispatch):
21     BaseInstallClass.setSteps(self, dispatch);
22     dispatch.skipStep("authentication")
23     dispatch.skipStep("partition")
24     dispatch.skipStep("partitionmethod")
25     dispatch.skipStep("partitionmethodsetup")
26     dispatch.skipStep("fdisk")
27     dispatch.skipStep("autopartition")
28     dispatch.skipStep("zfcpconfig")
29     dispatch.skipStep("bootloadersetup")
30     dispatch.skipStep("bootloader")
31     dispatch.skipStep("bootloaderadvanced")
32     dispatch.skipStep("networkdevicecheck")
33     # dispatch.skipStep("network")
34     # dispatch.skipStep("languagesupport")
35     dispatch.skipStep("authentication")
36     dispatch.skipStep("desktopchoice", skip = 0)
37     dispatch.skipStep("package-selection", skip = 1)
38     dispatch.skipStep("accounts")
39     dispatch.skipStep("firewall")
40     # dispatch.skipStep("confirminstall")
41    
42     def setGroupSelection(self, grpset, intf):
43     BaseInstallClass.__init__(self, grpset)
44    
45     grpset.unselectAll()
46     grpset.selectGroup("base", asMeta = 1)
47    
48     def setInstallData(self, id):
49     BaseInstallClass.setInstallData(self, id)
50     BaseInstallClass.setDefaultPartitioning(self, id.partitions,
51     CLEARPART_TYPE_ALL)
52    
53     def __init__(self, expert):
54     BaseInstallClass.__init__(self, expert)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed