summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-09-03 20:40:08 +0000
committerErik Troan <ewt@redhat.com>1999-09-03 20:40:08 +0000
commit8a8031a8282fd3caf023c78a38c334634806c88d (patch)
tree933748427e68fa1ae89c20614478d139c85b8d48 /installclass.py
parent434c8ecbfc6a495d86bd6c6c10f2635fe9afd203 (diff)
downloadanaconda-8a8031a8282fd3caf023c78a38c334634806c88d.tar.gz
anaconda-8a8031a8282fd3caf023c78a38c334634806c88d.tar.xz
anaconda-8a8031a8282fd3caf023c78a38c334634806c88d.zip
fixed automatic partition spesc
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/installclass.py b/installclass.py
index 1006a04a3..e8777f1ec 100644
--- a/installclass.py
+++ b/installclass.py
@@ -175,11 +175,11 @@ class Workstation(InstallClass):
self.addToSkipList("network")
self.addToSkipList("authentication")
self.addToSkipList("bootdisk")
- self.addToSkipList("partition")
+ #self.addToSkipList("partition")
- self.partitions.append(('/boot', 16, 0, -1))
- self.partitions.append(('/', 500, 1, -1))
- self.partitions.append(('swap', 64, 1, -1))
+ self.partitions.append(('/boot', 16, 16, 0))
+ self.partitions.append(('/', 500, 500, 1))
+ self.partitions.append(('swap', 64, 64, 0))
self.setClearParts(FSEDIT_CLEAR_LINUX,
warningText = _("You are about to erase any preexisting Linux "
"installations on your system."))
@@ -209,12 +209,12 @@ class Server(InstallClass):
self.addToSkipList("bootdisk")
self.addToSkipList("partition")
- self.partitions.append(('/boot', 16, 0, -1))
- self.partitions.append(('/', 256, 0, -1))
- self.partitions.append(('/usr', 512, 1, -1))
- self.partitions.append(('/var', 256, 1, -1))
- self.partitions.append(('/home', 512, 1, -1))
- self.partitions.append(('swap', 64, 1, -1))
+ self.partitions.append(('/boot', 16, 16, 0))
+ self.partitions.append(('/', 256, 256, 0))
+ self.partitions.append(('/usr', 512, 512, 1))
+ self.partitions.append(('/var', 256, 256, 0))
+ self.partitions.append(('/home', 512, 512, 1))
+ self.partitions.append(('swap', 64, 64, 1))
self.setClearParts(FSEDIT_CLEAR_ALL,
warningText = _("You are about to erase ALL DATA on your hard " + \
"drive to make room for your Linux installation."))