summaryrefslogtreecommitdiffstats
path: root/partitions.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-17 21:52:01 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-17 21:52:01 +0000
commit83eb660f75aebbf33c585e35076f4d5b32ace49b (patch)
tree31fae0ddb097934f2d83b1b24f11b240e4780fa0 /partitions.py
parentfb8da7120f7d56271ac424c47f7f73f0fbdbc1ad (diff)
downloadanaconda-83eb660f75aebbf33c585e35076f4d5b32ace49b.tar.gz
anaconda-83eb660f75aebbf33c585e35076f4d5b32ace49b.tar.xz
anaconda-83eb660f75aebbf33c585e35076f4d5b32ace49b.zip
2004-10-17 Jeremy Katz <katzj@redhat.com>
* partitions.py (Partitions.writeKS): Write out size=0 (#135714) * kickstart.py (KickstartBase.definePartition): Allow partition size to be zero to work better with LVM autopart (#135714)
Diffstat (limited to 'partitions.py')
-rw-r--r--partitions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/partitions.py b/partitions.py
index ace61d302..a969bd7e6 100644
--- a/partitions.py
+++ b/partitions.py
@@ -994,6 +994,8 @@ class Partitions:
elif request.type == REQUEST_NEW:
if request.size:
args.append("--size=%s" % (request.size))
+ if request.size == 0:
+ args.append("--size=0")
if request.grow:
args.append("--grow")
if request.start: