summaryrefslogtreecommitdiffstats
path: root/partRequests.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-20 07:10:38 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-20 07:10:38 +0000
commit6525f962608ba85e6f39c2be7ccbbc4379b79029 (patch)
tree343c310cc2a6860ba6fc67f608b454946b53836f /partRequests.py
parentd39dd1352a8ee2a730b181694e7b525beb901b3a (diff)
downloadanaconda-6525f962608ba85e6f39c2be7ccbbc4379b79029.tar.gz
anaconda-6525f962608ba85e6f39c2be7ccbbc4379b79029.tar.xz
anaconda-6525f962608ba85e6f39c2be7ccbbc4379b79029.zip
don't require a size to be specified if the logical volume is preexisting. needed for kickstart (#84494)
Diffstat (limited to 'partRequests.py')
-rw-r--r--partRequests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partRequests.py b/partRequests.py
index 90850d6fc..9870babaf 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -778,7 +778,7 @@ class LogicalVolumeRequestSpec(RequestSpec):
self.maxSizeMB = maxSizeMB
self.startSize = size
- if not percent and not size:
+ if not percent and not size and not preexist:
raise RuntimeError, "Error with Volume Group:Logical Volume %s:%s - Logical Volume must specify either percentage of vgsize or size" % (volgroup, lvname)
if percent and grow: