summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index fa39a794f..7bc6acaee 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -786,7 +786,7 @@ class KickstartBase(BaseInstallClass):
if not vgname:
raise RuntimeError, "Must specify the volume group for the logical volume to be in"
- if not size and not percent:
+ if not size and not percent and not preexist:
raise RuntimeError, "Must specify the size of a logical volume"
if percent and percent <= 0 or percent > 100:
raise ValueError, "Logical Volume percentage must be between 0 and 100 percent"