diff options
author | Erik Troan <ewt@redhat.com> | 2000-11-20 15:15:55 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-11-20 15:15:55 +0000 |
commit | 3a95635fc82cfca64545d362a6118f9d1ec19b24 (patch) | |
tree | 5ac8e6f14fe123d0b85815a8ca791e83921aeb3e /installclasses/laptop.py | |
parent | c6672080017887c34e74e98b2f7c9f047dd3b535 (diff) | |
download | anaconda-3a95635fc82cfca64545d362a6118f9d1ec19b24.tar.gz anaconda-3a95635fc82cfca64545d362a6118f9d1ec19b24.tar.xz anaconda-3a95635fc82cfca64545d362a6118f9d1ec19b24.zip |
descend from normal workstation
Diffstat (limited to 'installclasses/laptop.py')
-rw-r--r-- | installclasses/laptop.py | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/installclasses/laptop.py b/installclasses/laptop.py index 14fd115e2..692051933 100644 --- a/installclasses/laptop.py +++ b/installclasses/laptop.py @@ -1,31 +1,12 @@ -from installclass import BaseInstallClass -from installclass import FSEDIT_CLEAR_LINUX +import workstation from translate import N_ import os -class InstallClass(BaseInstallClass): +class InstallClass(workstation.InstallClass): name = N_("Laptop") pixmap = "laptop-support.png" sortPriority = 5000 def __init__(self, expert): - BaseInstallClass.__init__(self) - self.setGroups(["Workstation Common"]) - self.setHostname("localhost.localdomain") - if not expert: - self.addToSkipList("lilo") - self.addToSkipList("authentication") - self.setMakeBootdisk(1) - - self.showgroups = [ "KDE", - "GNOME", - "Games" ] - - if os.uname ()[4] != 'sparc64': - self.addNewPartition('/boot', (16, -1, 0), (None,-1,0), (0,0)) - self.addNewPartition('/', (700, -1, 1), (None, -1, 0), (0,0)) - self.addNewPartition('swap', (64, -1, 0), (None, -1, 0), (0,0)) - self.setClearParts(FSEDIT_CLEAR_LINUX, - warningText = N_("You are about to erase any preexisting Linux " - "installations on your system.")) + workstation.InstallClass.__init__(self, expert) |