summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-24 22:17:06 +0000
committerMatt Wilson <msw@redhat.com>1999-09-24 22:17:06 +0000
commitf23baa3e5fc78a59e45dbf4d744c63b924f7b7d7 (patch)
tree5386d17c2051f1161aa3477936b40e985ed8e383 /kickstart.py
parent30346352d96b0548a24d92c17a36bc33c348bac5 (diff)
downloadanaconda-f23baa3e5fc78a59e45dbf4d744c63b924f7b7d7.tar.gz
anaconda-f23baa3e5fc78a59e45dbf4d744c63b924f7b7d7.tar.xz
anaconda-f23baa3e5fc78a59e45dbf4d744c63b924f7b7d7.zip
testing...
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/kickstart.py b/kickstart.py
index 9dce7eb04..e2973b08d 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -303,9 +303,10 @@ class Kickstart(InstallClass):
size = 0
grow = 0
maxSize = 0
+ onPart = None
(args, extra) = isys.getopt(args, '', [ 'size=', 'maxsize=',
- 'grow' ])
+ 'grow', 'onpart=' ])
for n in args:
(str, arg) = n
@@ -315,8 +316,13 @@ class Kickstart(InstallClass):
maxSize = int(arg)
elif str == '--grow':
grow = 1
+ elif str == '--onpart':
+ onPart = arg
- self.partitions.append((extra[0], size, maxSize, grow))
+ if onPart:
+ addToFstab(extra[0], onPart)
+ else:
+ self.partitions.append((extra[0], size, maxSize, grow))
self.addToSkipList("partition")
self.addToSkipList("format")