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")