summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-09-18 15:47:30 +0000
committerJeremy Katz <katzj@redhat.com>2001-09-18 15:47:30 +0000
commit2670e2b470a7548c9aeebe48bf1200c3e48a863e (patch)
tree314830a43d8377ebd124ce4a2265bc93d1e3b4f2 /kickstart.py
parent93d692c2402a0d7976a3be3e794c172399949146 (diff)
downloadanaconda-2670e2b470a7548c9aeebe48bf1200c3e48a863e.tar.gz
anaconda-2670e2b470a7548c9aeebe48bf1200c3e48a863e.tar.xz
anaconda-2670e2b470a7548c9aeebe48bf1200c3e48a863e.zip
don't require a size specification with a --onpart, *sigh* (#53759)
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 41164ebbb..675ce9f95 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -742,7 +742,7 @@ class KickstartBase(BaseInstallClass):
filesystem = fileSystemTypeGetDefault()
mountpoint = extra[0]
- if (not size) and (not start and not end):
+ if (not size) and (not start and not end) and (not onPart):
raise ValueError, "partition command requires a size specification"
if start and not disk:
raise ValueError, "partition command with start cylinder requires a drive specification"