diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-02-11 03:51:19 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-02-11 03:51:19 +0000 |
commit | 7e43c95e584ba5503d7ba454a721e1b5d860ef26 (patch) | |
tree | cff2701d4a15c0cce5238ad7c3c2cecdbe3af54c /kickstart.py | |
parent | f331f6551588ef2234204ffa8c81a8a1aa4ee1d6 (diff) | |
download | anaconda-7e43c95e584ba5503d7ba454a721e1b5d860ef26.tar.gz anaconda-7e43c95e584ba5503d7ba454a721e1b5d860ef26.tar.xz anaconda-7e43c95e584ba5503d7ba454a721e1b5d860ef26.zip |
shouldn't require a size for preexisting lvs
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 2 |
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" |