Vi s6'Cs6'CSq6'CN ~E":- ?E6'Cq6'CE6'C@A . .. installclasses- .buildstamp. rhel_as.py/FermiStandAlone.py.save . .. BTeVTrigger.py Astro.pyBTeV.pyEAG.pyBTeVSimulation.py BTeVWorker.pyBooNE.pyBooNEDataServer.pyCDF.pyCDFCAFworker.py CDFlevel3.py CDFoffsite.py CDFonline.py CMSdesktop.py CMSfarm.py CMSserver.pyCPD.py CPDserver.pyCSS.pyConsoleServer.py FOCUS.py!Farms.py"FarmsConsole.py#FermiStandAlone.py$Minos.py%(FermiGenericDesktopOffsite.py& FnaluBatch.py'FnaluInteractive.py(GenericFarm.py)OAA.py*Sidet.py+ Theory.py,@ D0online.pyfrom fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("BTeVTrigger Install") pixmap = "btevtrigger.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the BTeV Trigger workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk") dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("btevtrigger") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Astro Workgroup Install") pixmap = "astro.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the Astro workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("astro") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("BTeV Install") pixmap = "btev.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the BTeV workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk") dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("btev") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("EAG Desktop Install") pixmap = "fermigenericdesktop.png" sortPriority = 10 showLoginChoice = 1 description = ("EAG Workgroup ") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("EAG") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk", skip = 1) from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("BTeVSimulation Install") pixmap = "btevsimulation.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the BTeV Simulation workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk") dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("btevsimulation") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("BTeVWorker Install") pixmap = "btevworker.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the BTeV Worker workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk") dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("btevworker") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("BooNE Install") pixmap = "boone.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the Boone workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk") dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("boone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("BooNEDataServer Install") pixmap = "boonedataserver.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the BooNE Data Server workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk") dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("boonedataserver") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CDF Workgroup Install") # pixmap = "workstation.png" pixmap = "cdf-desktop.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the CDF workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cdf") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk", skip = 1) from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CDF CAF Worker Workgroup Install") # pixmap = "server.png" pixmap = "cdf-farm.png" sortPriority = 100 description = ("This will install the CDF CAF Worker workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cdfcafworker") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CDFlevel3 Workgroup Install") # pixmap = "server.png" pixmap = "cdf-farm.png" sortPriority = 100 description = ("This will install the CDF level 3 workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cdflevel3") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CDFoffsite Workgroup Install") # pixmap = "workstation.png" pixmap = "cdf-desktop.png" sortPriority = 100 description = ("This will install the CDF Offsite workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cdfoffsitedesktop") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CDFonline Workgroup Install") # pixmap = "server.png" pixmap = "cdf-server.png" sortPriority = 100 showLoginChoice = 1 description = ("This will install the CDF Online workgroup.") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("timezone") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cdfonline") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CMSdesktop Workgroup Install") # pixmap = "workstation.png" pixmap = "cms-desktop.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the CMS Desktop workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cmsdesktop") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CMSfarm Workgroup Install") # pixmap = "server.png" pixmap = "cms-farm.png" sortPriority = 100 description = ("This will install the CMS Farm workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cmsfarm") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CMSserver Workgroup Install") # pixmap = "server.png" pixmap = "cms-server.png" sortPriority = 100 description = ("This will install the CMS Server workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cmsserver") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CPD Workgroup Install") # pixmap = "workstation.png" pixmap = "cpd.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the CPD workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cpd") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("CPD Server Workgroup Install") # pixmap = "workstation.png" pixmap = "cpd.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the CPD Server workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("cpdserver") from fermiinstallclass import FermiInstallClass import os class InstallClass(FermiInstallClass): name = ("CSS Workgroup Install") # pixmap = "workstation.png" pixmap = "css.png" sortPriority = 10 showLoginChoice = 1 description = ("Select this installation type if you belong " "to the CSS workgroup " ", this workgroup comes with Fermi kerberos.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("css") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("bootdisk", skip = 1) dispatch.skipStep("makebootdisk", skip = 1) dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("ConsoleServer Workgroup Install") # pixmap = "server.png" pixmap = "consoleserver.png" sortPriority = 100 description = ("This will install the Console Server workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("consoleserver") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("FOCUS Workgroup Install") # pixmap = "workstation.png" pixmap = "focus.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the FOCUS workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("focus") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Farms Workgroup Install") # pixmap = "server.png" pixmap = "fermitux-farm.png" sortPriority = 25 description = ("This will install the Farms workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("farms") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Farms Console Workgroup Install") # pixmap = "server.png" pixmap = "farms-console.png" sortPriority = 25 description = ("This will install the Farms Console workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("farmsconsole") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Fermi Generic Desktop Install") pixmap = "fermigenericdesktop.png" sortPriority = 1 showLoginChoice = 1 description = ("PICK ME!! This is the choice if you don't know what to do. " "This workgroup does come with Fermi kerberos.") pkgstext = ("\tDesktop KDE)\n" "\tFermi Kerberos\n" "\tFermi OpenSSH client\n" "\tOffice suite (OpenOffice)\n" "\tWeb browser (Mozilla) \n" "\tSound and video applications\n" "\tSoftware Development Tools\n") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk", skip = 1) def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("fermigenericdesktopmeta", asMeta = 1) grpset.selectGroup("fermigenericdesktop") def setInstallData(self, id): FermiInstallClass.setInstallData(self, id) from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Minos Workgroup Install") # pixmap = "workstation.png" pixmap = "minos.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the Minos workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("minos") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Fermi Generic Desktop Offsite Install") pixmap = "genericdesktopoffsite.png" sortPriority = 1 showLoginChoice = 1 description = ("If you are NOT onsite at Fermi and you are not part of a workgroup then this is your best choice. It allows for connection to Fermi via kerberos but does not require kerberos for local login's. Thus it is only suitable for offsite. ") pkgstext = ("\tDesktop KDE)\n" "\tFermi Kerberos\n" "\tFermi OpenSSH client\n" "\tOffice suite (OpenOffice)\n" "\tWeb browser (Mozilla) \n" "\tSound and video applications\n" "\tSoftware Development Tools\n") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("fermigenericdesktopoffsitemeta", asMeta = 1) grpset.selectGroup("fermigenericdesktopoffsite") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("FnaluBatch Workgroup Install") # pixmap = "server.png" pixmap = "fnalu-interactive.png" sortPriority = 100 showLoginChoice = 1 description = ("This will install the Fnalu Batch workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("fnalubatch") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("FnaluInteractive Workgroup Install") # pixmap = "server.png" pixmap = "fnalu-interactive.png" sortPriority = 100 showLoginChoice = 1 description = ("This will install the Fnalu Interactive workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("fnaluinteractive") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("GenericFarm Workgroup Install") # pixmap = "server.png" pixmap = "genericfarm.png" description = ("Generic Farm is a base system with " "no graphics and no compilers. " "It is meant to be a kerberized bare bones install.") sortPriority = 25 showLoginChoice = 1 def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("genericfarm") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("OAA Workgroup Install") # pixmap = "workstation.png" pixmap = "oaa.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the OAA workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("oaa") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") dispatch.skipStep("timezone") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Sidet Workgroup Install") # pixmap = "workstation.png" pixmap = "sidet.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the Sidet workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("sidet") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Theory Workgroup Install") # pixmap = "workstation.png" pixmap = "theory.png" sortPriority = 10 showLoginChoice = 1 description = ("This will install the Theory workgroup.") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("theory") from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("D0 Online Workgroup Install") # pixmap = "server.png" pixmap = "genericfarm.png" description = ("D0 Online Workgroup ") sortPriority = 100 showLoginChoice = 1 def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("D0online") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk") dispatch.skipStep("bootdisk") 200509021220 Scientific Linux 41 (Fermi) 41 sites/Fermi 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") grpset.selectGroup("compat-arch-support", asMeta = 1, missingOk = 1) def setInstallData(self, id): BaseInstallClass.setInstallData(self, id) BaseInstallClass.setDefaultPartitioning(self, id.partitions, CLEARPART_TYPE_ALL) def __init__(self, expert): BaseInstallClass.__init__(self, expert) from fermiinstallclass import FermiInstallClass class InstallClass(FermiInstallClass): name = ("Fermi Generic Desktop Install") pixmap = "fermigenericdesktop.png" sortPriority = 1 showLoginChoice = 1 description = ("PICK ME!! This is the choice if you don't know what to do. " "This workgroup does come with Fermi kerberos.") pkgstext = ("\tDesktop KDE)\n" "\tFermi Kerberos\n" "\tFermi OpenSSH client\n" "\tOffice suite (OpenOffice)\n" "\tWeb browser (Mozilla) \n" "\tSound and video applications\n" "\tSoftware Development Tools\n") def setGroupSelection(self, grpset, intf): FermiInstallClass.setGroupSelection(self, grpset, intf) grpset.selectGroup("fermigenericdesktopmeta", asMeta = 1) grpset.selectGroup("fermigenericdesktop") def setSteps(self, dispatch): FermiInstallClass.setSteps(self, dispatch); dispatch.skipStep("makebootdisk", skip = 1) 200509021220 Scientific Linux 41 (Fermi) 41 sites/Fermi